【发布时间】:2019-07-03 18:50:14
【问题描述】:
如何在 R-Studio 中将柱状图的 x 轴上的列拆分为大小为 0.02 的间隔?
eye = LEFTEYE$X__1
breaks = seq(0.04, 1.08, by=0.02)
eye.cut = cut(eye, breaks, right=FALSE)
eye.freq = table(eye.cut)
cbind(eye.freq)
hist(eye.freq, xlab="Cylindrical Power Measurements for the Left Eye")
【问题讨论】:
标签: r statistics histogram