Hello all,

I'm plotting several graphs with a for-loop with a code:

par(mfrow=c(3,4))

for(i in levels(fHCGB$code)) with(subset(fHCGB,code==i),
plot(pooledPlateIntra, type="b", ylim=ylim, xlab=code, ylab="CV%"))


With which I have no problems.. However I need to add lines to all of
these 12 plots, but I cannot get it to work. I've tried for example

par(mfrow=c(3,4))

for(i in levels(fHCGB$code)) with(subset(fHCGB,code==i),
plot(pooledPlateIntra, type="b", ylim=ylim, xlab=code, ylab="CV%")
points(fHCGB$limitVarC,type="b", col="green")))

But run into errors. How can the lines be added?

Taija Saanisto
Biostatistician
Quality assurance, Process Development
PerkinElmer Life and Analytical Sciences / Wallac Oy
Phone: +358-2-2678 741




        [[alternative HTML version deleted]]

______________________________________________
[email protected] 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