Re: [R] help with bwplot

From: Deepayan Sarkar <deepayan.sarkar_at_gmail.com>
Date: Tue, 12 Feb 2008 11:55:31 -0800

On 2/12/08, Tom Cohen <tom.cohen78_at_yahoo.se> wrote:
> Dear list,
>
> I have following data set, which I want to plot the "Scale" variable on the
> x-axis and "Mean"┬┤on the y-axis for each Ageclass and for each sex. The Mean
> value of each Ageclass for each sex would be connected by a line. Totally,
> there should be 6 lines, from which three present the Mean values of each
> Ageclass for respective sex. Are there any easy ways to do this in R?

You will have to give a better description of what you want. Your current description leads me to try

bwplot(Mean ~ Scale | Ageclass + Sex, <data>)

which results in a silly plot.

-Deepayan



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 Tue 12 Feb 2008 - 20:21:04 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 Tue 12 Feb 2008 - 21:30:13 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