Re: [R] parallel max, min, and median of dataframe columns

2008-04-27 Thread Gabor Grothendieck
One can use sapply(data_frame, min) and similarly for max and median. Another possibility is to use quantile and matplot like this ir <- iris[1:3, 1:4] # sample data using builtin iris data set mat <- t(sapply(ir, quantile, c(1, .5, 0))) matplot(mat, type = "hp", lty = 1, pch = 20, xaxt = "n",

[R] parallel max, min, and median of dataframe columns

2008-04-27 Thread H.Jenkins
Hello, all, I have a dataframe of three rows and umpteen columns. I want to show the maximum, minimum, and median with a vertical line and a central dot (I'd use a boxplot, but with only three data points, that's overkill; I can't just use points, because of overlap and some of the other data