Ah nice. I clearly misunderstood and thought that facet_wrap() made sense.
John Kane
Kingston ON Canada
> -Original Message-
> From: ruipbarra...@sapo.pt
> Sent: Wed, 31 Oct 2012 19:45:33 +
> To: dysonspher...@gmail.com
> Subject: Re: [R] boxplots of various le
u want?
> > >>
> > >> library(ggplot2)
> > >> mydata <- data.frame(result = rnorm(100), group = rep(c("1", "2"),
> > each
> > >> = 50),
> > >> side = sample(c("L", "R"
gt; each
> >> = 50),
> >> side = sample(c("L", "R"), 100, replace = TRUE)
> ,
> >> dtime = rep(1:10, each=10))
> >>
> >> p <- ggplot(mydata , aes( group, result, fill = side ))+
> geom_boxplot
side = sample(c("L", "R"), 100, replace = TRUE) ,
>> dtime = rep(1:10, each=10))
>>
>> p <- ggplot(mydata , aes( group, result, fill = side ))+ geom_boxplot()
>> +
>> facet_wrap(~dtime)
>> p
>>
> +
> facet_wrap(~dtime)
> p
>
> John Kane
> Kingston ON Canada
>
>
> > -Original Message-
> > From: [hidden email]<http://user/SendEmail.jtp?type=node&node=4647989&i=0>
> > Sent: Tue, 30 Oct 2012 11:21:49 -070
ct 2012 11:21:49 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] boxplots of various levels
>
> noob here
> trying to make boxplots of some data
> i would like to separate the boxplots according to conditons of various
> levels
> for example:
>
> i have
> group:1 an
2012 18:22
To: r-help@r-project.org
Subject: [R] boxplots of various levels
noob here
trying to make boxplots of some data
i would like to separate the boxplots according to conditons of various
levels
for example:
i have
group:1 and 2, each group performed tests consisting of
condition A,B,C,D
noob here
trying to make boxplots of some data
i would like to separate the boxplots according to conditons of various
levels
for example:
i have
group:1 and 2, each group performed tests consisting of
condition A,B,C,D
side: left and right
time: 1 to 10
I would like separate boxplots of the res
8 matches
Mail list logo