[R] 'loop FOR' for make plots
klebyn
klebyn at yahoo.com.br
Thu Mar 30 22:14:09 CEST 2006
Hello
How to create plots dynamically with results of several analysis ?
I got many outputs from lm fuction like:
mp1.lm mp2.lm mp3.lm mp4.lm mp5.lm ...
I'd like to make experimental versus predicted response plots of all
analysis
in a 'for loop':
for( i in 1:10){
x11()
plot( mp*i*$experimental_response, fitted( mp*i* ) ); abline(0,1)
}
I tried: paste( 'mp', i, sep=''), but it don't work.
How to make this reference?
Regards
Cleber
More information about the R-help
mailing list