更新时间:2023-02-27 13:15:49
Brandon Bertelsen 真的很亲近...
Brandon Bertelsen is really close...
x <- c(2,8,11,19)
x <- data.frame(x,1) ## 1 is your "height"
plot(x, type = 'o', pch = '|', ylab = '')
但我写这篇文章主要是为了提到您可能还会在基础图形中查看 stripchart() 和 rug() 以了解查看一维数据的方法.
But I wrote this mostly to mention that you might also in base graphics look at stripchart() and rug() for ways to look at 1-d data.