R: Plot multiple box plots using columns from data frame
问题 I would like to plot an INDIVIDUAL box plot for each unrelated column in a data frame. I thought I was on the right track with boxplot.matrix from the sfsmsic package, but it seems to do the same as boxplot(as.matrix(plotdata) which is to plot everything in a shared boxplot with a shared scale on the axis. I want (say) 5 individual plots. I could do this by hand like: par(mfrow=c(2,2)) boxplot(data$var1 boxplot(data$var2) boxplot(data$var3) boxplot(data$var4) But there must be a way to use