[R] help with bwplot

2008-02-12 Thread Tom Cohen
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 th

Re: [R] help with bwplot

2008-02-12 Thread jim holtman
Not the most straightforward way, but I think it gets the job done: x <- read.table(textConnection("Ageclass Scale MeanSex 1 21-40BP 40.26667 female 2 41-60BP 34.10714 female 3 61-79BP 37.3 female 4 21-40GH 30.25000 female 5 41-60GH 39.00926 fema

Re: [R] help with bwplot

2008-02-12 Thread hadley wickham
> 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

Re: [R] help with bwplot

2008-02-12 Thread Deepayan Sarkar
On 2/12/08, Tom Cohen <[EMAIL PROTECTED]> 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. Totall