search for: line_datgrasschem_

Displaying 1 result from an estimated 1 matches for "line_datgrasschem_".

2005 Aug 15
3
How to repeat code snippet for several variables in a data frame?
...est$ghi <- rnorm(32) test The following code snippet aggregates the data for one variable and then draws a plot: tmp <- aggregate(test$abc, list( test$bins, test$groups), mean) colnames(tmp) <- c("bins", "groups", "abc") tmp #pltName <- paste("line_datGrassChem_", "abc", ".eps", sep="") #postscript(pltName) labs <- c("-15/-9","-9/-6","-6/-3","-3/0") sps <- trellis.par.get("superpose.symbol") sps$pch <- 1:4 trellis.par.set("superpose.symbol",...