All,
 
Simple question but I don't seem to be able to find the answer in the
documentation:
When using "plot" within a loop, is there any way to supply the argument
to "main" dynamically, 
i.e., so that the title is Patient k below as the loop cycles through
each value of k?
 
plot(x,y, xlim=c(0,250), ylim=c(0,1000), xlab="gamma", ylab="r1",
main="Patient k")
 
 
thanks
dave
ps - I'm running windows.
 
  

        [[alternative HTML version deleted]]

______________________________________________
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

Reply via email to