search for: g01_04

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

Did you mean: g01_01
2007 Aug 04
3
using loops to create multiple images
I have a data.frame with ~100 columns and I need a barplot for each column produced and saved in some directory. I am not sure it is possible - so please help me. this is my loop that does not work... vars <- list (substitute (G01_01), substitute (G01_02), substitute (G01_03), substitute (G01_04)) results <- data.frame ('Variable Name'=rep (NA, length (vars)), check.names=FALSE) for (i in 1:length (vars)) { barplot(table(i),xlab=i,ylab="Nuomon?s") dev.copy(png, filename="/my/dir/barplot.i.png", height=600, width=600) dev.off() } questions: Is it possible...