Have you tried these:>png()
> lapply(simint.by.fit,plot)
>dev.off()
2006/6/22, Barker, Chris [SCIUS] <cbarker1 at
scius.jnj.com>:>
> Using a "by() statement, I am preparing ANOVA's for multiple
experiments,
> and using simint() to generate confidence intervals.
> This works fine.
>
>
> simint.by.fit <- by(analytes.dfr, list(Assay = analytes.dfr$analyte ),
> function(data) (simint(value ~ tx, data = data,type='Tukey' ) ) )
>
>
> I can separately prepare plots of the confidence intervals, and I can
> prepare separate plots or use for/do loop e.g.
>
> plot( simint.by.fit$"Assay 1" )
> plot( simint.by.fit$"Assay 2")
>
> Is there a way to generate and save multiple -separate- plots without using
> a do loop, e.g. using lapply?.
>
> I tried a couple variations using lapply,
>
> lapply(simint.by.fit,plot)
>
> not surprising, I only get the last plot, the other plots seem to get
> overwritten.
>
> Thanks in advance
>
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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
>
--
??????
Department of Sociology
Fudan University