Cut with one specific interval

后端 未结 0 494
迷失自我
迷失自我 2020-12-09 06:46

I have a dataset and I want to cut it into 4 parts using cut() function (or something similar).

set.seed(5)
cut(runif(100, 0, 100), 4)

gives

相关标签:
回答
  • 消灭零回复
提交回复
热议问题