Message-ID: <f8e6ff050809090649v159dae2bm1d51c368004d19e0@mail.gmail.com>
Date: 2008-09-09T13:49:28Z
From: Hadley Wickham
Subject: plotting group means
In-Reply-To: <200809091338.m89DcMWa016845@idmailgate1.unizh.ch>
On Tue, Sep 9, 2008 at 8:38 AM, Erich Studerus
<erich.studerus at bli.uzh.ch> 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 plotting
> function, that does not need a rearrangement. Are there other functions,
> which can do that or is there an easy way to rearrange the columns into one?
Try:
library(reshape)
melt(x)
Hadley
--
http://had.co.nz/