문제

I am using the following in R to generate a Boxplot out of a given set of data:

boxplot(set5, col=c(3,4), names=c("5 observation box plot"))

I also want to plot the specific points on the Boxplot. At present, I only have the quartile boxes generated out of points, but the actual points are not shown. How to achieve this?

도움이 되었습니까?

해결책

Do you mean something like this?:

d<-rnorm(30)
boxplot(d)
points(rep(1,length(d)),d)
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top