Hi there

Does anyone know, why this is not working?:


par(mfrow = c(5, 5))

for (i in 1:10){
        plot(x=time, y=Var.i)
        }

(x-variable is time
y-variable is Var out of matrix with columns Var.1 Var.2 Var.3 etc...)

even

for (i in 1:10){
        plot(x=time, y=paste("Var", i, sep=".")
        }

does not work

Thanks 

marc

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to