Re: [R] two plots in qplot

From: Ista Zahn <izahn_at_psych.rochester.edu>
Date: Fri, 25 Mar 2011 09:51:42 -0400

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

______________________________________________
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.
Received on Fri 25 Mar 2011 - 13:55:45 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 25 Mar 2011 - 14:40:24 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive