[R] boxplot of two variables

2009-04-23 Thread Gabriel R. Rodriguez
Hello !

 

I have a dataframe with 6 variables (A1,A2,B1,B2,C1,C2) and 1 factor (F).

 

I would like to produce a graph consisting of 3 boxplots sets, one for every
two  variables (i.e A1 A2) by the factor (F).

I was looking around and I cannot figure it out, any suggestions?

 

Best Regards, 

Gabriel

 


[[alternative HTML version deleted]]

__
R-help@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.


Re: [R] boxplot of two variables

2009-04-23 Thread Mike Lawrence
Check out ggplot2:

http://had.co.nz/ggplot2

especially:
http://had.co.nz/ggplot2/geom_boxplot.html

But you are strongly advised to read the book:
http://had.co.nz/ggplot2/book/

On Thu, Apr 23, 2009 at 12:13 PM, Gabriel R. Rodriguez
garo...@cnia.inta.gov.ar wrote:
 Hello !



 I have a dataframe with 6 variables (A1,A2,B1,B2,C1,C2) and 1 factor (F).



 I would like to produce a graph consisting of 3 boxplots sets, one for every
 two  variables (i.e A1 A2) by the factor (F).

 I was looking around and I cannot figure it out, any suggestions?



 Best Regards,

 Gabriel




        [[alternative HTML version deleted]]

 __
 R-help@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.




-- 
Mike Lawrence
Graduate Student
Department of Psychology
Dalhousie University

Looking to arrange a meeting? Check my public calendar:
http://tr.im/mikes_public_calendar

~ Certainty is folly... I think. ~

__
R-help@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.