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
: [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 &l
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 st
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, minima
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)
plotdata <- aggregate(dataset$value, list(x = dataset$x, y = dataset$y),
mean)
plotdata <- merge(plo
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-
6 matches
Mail list logo