[R] Not generating line chart
Jan van der Laan
rhelp at eoos.dds.nl
Thu Jan 19 11:55:17 CET 2012
Devarayalu,
This is FAQ 7.22:
http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-do-lattice_002ftrellis-graphics-not-work_003f
use print(qplot(....))
Regards,
Jan
Sri krishna Devarayalu Balanagu <balanagudevarayulu at gvkbio.com> schreef:
> Hi All,
>
>
> Can you please help me, why this code in not generating line chart?
>
>
>
> library(ggplot2)
> par(mfrow=c(1,3))
>
> #qplot(TIME1, BASCHGA, data=Orange1, geom= c("point", "line"),
> colour= ACTTRT)
> unique(Orange1$REFID) -> refid
> for (i in refid)
> {
> Orange2 <- Orange1[i == Orange1$REFID, ]
> pdf('PGA.pdf')
> qplot(TIME1, BASCHGA, data=Orange2, geom= c("line"), colour= ACTTRT)
> dev.off()
> }
> Regards,
> Devarayalu
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org 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.
More information about the R-help
mailing list