that--it's been a long time)
John Kane
Kingston ON Canada
-Original Message-
From: hyil...@gmail.com
Sent: Wed, 18 Feb 2015 01:40:17 +0800
To: jrkrid...@inbox.com
Subject: Re: [R] ggplot2 shifting bars to only overlap in groups
The code is the same as the last one I showed, except I u
al(values = c("blue", "darkorange"))+
> theme_bw()+
> scale_y_continuous(breaks=seq(0.6,1.5,0.1))
> gg
>
> John Kane
> Kingston ON Canada
>
> -Original Message-
> From: hyil...@gmail.com
> Sent: Tue, 17 Feb 2015 01:20:06 +0800
> To: jrk
rkorange"))+
theme_bw()+
scale_y_continuous(breaks=seq(0.6,1.5,0.1))
gg
John Kane
Kingston ON Canada
-Original Message-
From: hyil...@gmail.com
Sent: Tue, 17 Feb 2015 01:20:06 +0800
To: jrkrid...@inbox.com
Subject: Re: [R] ggplot2 shifting bars to only overlap in groups
Again,
: jrkrid...@inbox.com, djmu...@gmail.com
> Subject: Re: [R] ggplot2 shifting bars to only overlap in groups
>
> Thanks so much, John and Dennis (who did not respond in the mailing list
> for some reason). I feel quite obliged to keep you thinking about this.
>
> I do agree that
Lovely, a much more elegant solution.
John Kane
Kingston ON Canada
-Original Message-
From: hyil...@gmail.com
Sent: Mon, 16 Feb 2015 02:30:09 +0800
To: jrkrid...@inbox.com, djmu...@gmail.com
Subject: Re: [R] ggplot2 shifting bars to only overlap in groups
Thanks so much, John and
Thanks so much, John and Dennis (who did not respond in the mailing list
for some reason). I feel quite obliged to keep you thinking about this.
I do agree that not using the bar chart with error bars is a better option.
And since *condition* is an important ordinal factor for me, it would be
much
colour = condition),
width=.1 )
bc
cf <- bc + coord_flip()
cf
##
-Original Message-
From: hyil...@gmail.com
Sent: Sat, 14 Feb 2015 16:32:03 +0800
To: jrkrid...@inbox.com
Subject: Re: [R] ggplot2 shifting bars to only overlap in groups
dat1 &
John Kane
Kingston ON Canada
-Original Message-
From: hyil...@gmail.com
Sent: Sat, 14 Feb 2015 16:32:03 +0800
To: jrkrid...@inbox.com
Subject: Re: [R] ggplot2 shifting bars to only overlap in groups
I think maybe it is possible to first produce a blank axis, and then splitting
the data
#x27;, 2,
> NA) )
> dat1$jit <- as.numeric(dat1$jit)
>
> dat1$jit <- jitter(dat1$jit)
>
> x <- "male"
> y <- "female"Begin code ##
> ab <- ggplot(dat1, aes (jit, t)) +
>geom_point(aes(colour
bb
bc <- bb +
geom_errorbar(data = dat1, aes(ymin=t-ci, ymax=t+ci,
colour = condition),
width=.2 )
bc
cf <- bc + coord_flip()
cf
End code ###
John Kane
Kingston ON Canada
-Original Message-
rom: hyil...@gmail.com
> Sent: Thu, 12 Feb 2015 23:38:01 +0800
> To: jrkrid...@inbox.com
> Subject: Re: [R] ggplot2 shifting bars to only overlap in groups
>
> You are most likely simply not running the whole lines of code: note that
> the first line is:
>
> N = 32
>
>
I'm a bit blind today. I read df as a dput() .
John Kane
Kingston ON Canada
-Original Message-
From: hyil...@gmail.com
Sent: Thu, 12 Feb 2015 23:38:01 +0800
To: jrkrid...@inbox.com
Subject: Re: [R] ggplot2 shifting bars to only overlap in groups
You are most likely simply not ru
2,16,N, c("east","west")),
> t=rnorm(N, 1, 0.5),
> ci=abs(rnorm(N, 0, 0.2)))
>
> John Kane
> Kingston ON Canada
>
>
> > -----Original Message-
> > From: hyil...@gmail.com
> > Sent: Thu, 12 Feb 2015 22:08:36
ohn Kane
Kingston ON Canada
> -Original Message-
> From: hyil...@gmail.com
> Sent: Thu, 12 Feb 2015 22:08:36 +0800
> To: r-help@r-project.org
> Subject: [R] ggplot2 shifting bars to only overlap in groups
>
> Hi all,
>
> I have four factors for a continuous tim
Hi all,
I have four factors for a continuous time variable along with its
confidence interval. I would like to produce a publication quality error
bar chart that is clear to understand. For now, I used colors, x axis
position, facets and alpha level to distinguish them.
I would like to overlap ea
15 matches
Mail list logo