My input table has two columns like this:
x y 1 187 2 235 3 857 3 253 2 955 1 267
I want to make a boxplot of the y values
foo <- data.frame(x=rep(1:5,each=20),y=rnorm(100)) with(foo,boxplot(y~x))