Displaying 1 result from an estimated 1 matches for "figurelist".
2003 Jul 25
0
Sweave and Printing Lattice Figures From Loop
...lot(rnorm(1:100) ~ rnorm(1:100) | Cond1 )
Cond2 <- c("One","Two","Three","Four")
Fig1.2 <- xyplot(rnorm(1:100) ~ rnorm(1:100) | Cond2 , layout = c(2,1,2))
# loop to construct list of figure names i max * j max = total number of
figures
z <- 1
figureList <- rep("A",2)
for(i in 1:1){
for(j in 1:2){
figureList[z] <- paste("Fig",i,".",j,sep="")
z <- z + 1}}
rm(z)
# get a list of the files that exist
# before creating postscripts of figures
# Note: delete files from prev...