Avoid Scientific notation in cut function in R

后端 未结 1 1052
长发绾君心
长发绾君心 2020-12-03 15:09

How to avoid scientific notation present in the Intervals created by the cut function.

a<-seq(10000,50000, by=500 )
cut(a, breaks = seq(0,max(a)+300, by          


        
1条回答
  •  离开以前
    2020-12-03 15:58

    As suggested by Pascal,

    Try with adding the argument dig.lab = 5 to cut function.

    0 讨论(0)
提交回复
热议问题