[R] plotting group means

2008-09-09 Thread Erich Studerus
Hi all, I want to plot the grouped means of some variables. The dependent variables and the grouping factor are stored in different columns. I want to draw a simple line-plot of means, in which the x-axis represents the variables and y-axis represents the means. The means of the groups should

Re: [R] plotting group means

2008-09-09 Thread Chuck Cleland
On 9/9/2008 6:49 AM, Erich Studerus wrote: Hi all, I want to plot the grouped means of some variables. The dependent variables and the grouping factor are stored in different columns. I want to draw a simple line-plot of means, in which the x-axis represents the variables and y-axis

Re: [R] plotting group means

2008-09-09 Thread ONKELINX, Thierry
Verzonden: dinsdag 9 september 2008 12:49 Aan: r-help@r-project.org Onderwerp: [R] plotting group means Hi all, I want to plot the grouped means of some variables. The dependent variables and the grouping factor are stored in different columns. I want to draw a simple line-plot of means

Re: [R] plotting group means

2008-09-09 Thread Jim Lemon
Hi Erich, Have a look at brkdn.plot in the plotrix package. Jim __ 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,

Re: [R] plotting group means

2008-09-09 Thread hadley wickham
On Tue, Sep 9, 2008 at 6:56 AM, ONKELINX, Thierry [EMAIL PROTECTED] wrote: Dear Erich, Have a look at ggplot2 library(ggplot2) dataset - expand.grid(x = 1:20, y = factor(LETTERS[1:4]), value = 1:10) dataset$value - rnorm(nrow(dataset), sd = 0.5) + as.numeric(dataset$y) Or with

Re: [R] plotting group means

2008-09-09 Thread Erich Studerus
: [R] plotting group means On Tue, Sep 9, 2008 at 6:56 AM, ONKELINX, Thierry [EMAIL PROTECTED] wrote: Dear Erich, Have a look at ggplot2 library(ggplot2) dataset - expand.grid(x = 1:20, y = factor(LETTERS[1:4]), value = 1:10) dataset$value - rnorm(nrow(dataset), sd = 0.5) + as.numeric(dataset$y

Re: [R] plotting group means

2008-09-09 Thread hadley wickham
On Tue, Sep 9, 2008 at 8:38 AM, Erich Studerus [EMAIL PROTECTED] wrote: Thanks for all the suggestions, but it seems, that all these functions need a rearrangement of my data, since in my case, the dependent variables are in different columns. The error.bars.by-function seems to be the only