[R] help with bwplot

Deepayan Sarkar deepayan.sarkar at gmail.com
Tue Feb 12 20:55:31 CET 2008


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


More information about the R-help mailing list