[R] is it possible to map 2 plots(c and d) in a single output plot?

newbie_2010 girishbogu at gmail.com
Sat Aug 14 08:36:17 CEST 2010


is it possible to map 2 plots(c and d) in a single output plot?

library(ggplot2)
c <- ggplot(mtcars, aes(qsec, wt))
d <- ggplot (mtcars, aes(qsec, wt))
c + stat_smooth(fill="darkgrey", colour="blue", size=2, alpha = 0.2)
d + stat_smooth(fill="darkgrey", colour="red", size=2, alpha = 0.2)
-- 
View this message in context: http://r.789695.n4.nabble.com/is-it-possible-to-map-2-plots-c-and-d-in-a-single-output-plot-tp2325023p2325023.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list