Question

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?

Was it helpful?

Solution

Do you mean something like this?:

d<-rnorm(30)
boxplot(d)
points(rep(1,length(d)),d)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top