On Tuesday 25 January 2005 03:42, Christoph Lehmann wrote:
> many thanks for your great tip. I didn't know reshape.
>
> Unfortunately in my real data, the values of my variables are ont all
> within the same range. Therefore, what shall I change in the code to
> get for each plot a scale, which is adjusted to the range of my
> variable?
With bwplot, something like
bwplot(factor(GROUP) ~ var.a + var.b + var.c, mydata,
outer = TRUE, scales = list(x = "free"))
or
bwplot(var.a + var.b + var.c ~ factor(GROUP), mydata,
outer = TRUE, scales = list(y = "free"))
may get you what you want. This does the 'reshape'-ing
automagically ;-), and the same idea (scales="free") can be used with
reshaped data as well.
Deepayan
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html