[R] two plots in qplot

Ista Zahn izahn at psych.rochester.edu
Fri Mar 25 14:51:42 CET 2011


Hi Denis,
Yes, just specify the variables in an aes call inside your geom_*
call. Hard to be more specific without an example...

Best,
Ista

On Fri, Mar 25, 2011 at 1:24 AM, Denis Kazakiewicz
<d.kazakiewicz at gmail.com> wrote:
> Hello
> I simply want to plot two variables against one 'year' variable in
> qplot.
> Is any way of doing this without reshaping data in long format and using
> facet function afterwards?
>
> Thank you
>
> Denis
>
> ______________________________________________
> 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.
>



-- 
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org



More information about the R-help mailing list