o.
Well, it's working (replace 'group' by 'trt')
Thank you very much Hadley.
david
2009/1/7 hadley wickham
> Hi David,
>
> > Here the problem :
> >
> > library(ggplot2)
> >
> > df <- data.frame(id = 1:100, x1 = c(rnorm(50), rnorm(50, 1)), x2 =
> > c(rnorm(50), rnorm(50, 1.5)), x3 = c(rnor
Hi David,
> Here the problem :
>
> library(ggplot2)
>
> df <- data.frame(id = 1:100, x1 = c(rnorm(50), rnorm(50, 1)), x2 =
> c(rnorm(50), rnorm(50, 1.5)), x3 = c(rnorm(50, 0.5), rnorm(50, 2.5)), group
> = as.factor(rep(c("a", "b"), each = 50)))
> df.melt <- melt(df, id = c("id", "group"))
> head(d
Hello R users and Hadley,
Back again with a little problem in ggplot2 =o) (ggplot 0.8.1, R 2.8.0)
Here the problem :
library(ggplot2)
df <- data.frame(id = 1:100, x1 = c(rnorm(50), rnorm(50, 1)), x2 =
c(rnorm(50), rnorm(50, 1.5)), x3 = c(rnorm(50, 0.5), rnorm(50, 2.5)), group
= as.factor(rep(c(
3 matches
Mail list logo