On 08/26/2010 06:36 AM, Dennis Murphy wrote:
...
It looks like he's using barchart() in lattice, which does have a box.ratio
argument.
That's why I didn't suggest using barp with width=0.5
Jim
__
R-help@r-project.org mailing list
https://stat.ethz.c
On Thu, Aug 26, 2010 at 5:22 AM, Jonathan Greenberg
wrote:
> Oops, small typo, should be:
>
>
> barchart_test_heights=sin(c(1:100))
> barchart_test_bins=c(c(1:50),c(1:50))
> groups=c(rep(1,50),rep(2,50))
>
> # Wish below didn't have spaces!
> barchart(barchart_test_bins~barchart_test_heights,group
Oops, small typo, should be:
barchart_test_heights=sin(c(1:100))
barchart_test_bins=c(c(1:50),c(1:50))
groups=c(rep(1,50),rep(2,50))
# Wish below didn't have spaces!
barchart(barchart_test_bins~barchart_test_heights,groups=groups)
On Wed, Aug 25, 2010 at 4:46 PM, Jonathan Greenberg
wrote:
> I
I apologize, let me add some data to play with:
barchart_test_heights=sin(c(1:100))
barchart_test_bins=c(1:100)
groups=c(rep(1,50),rep(2,50))
I have pre-calculated histogram data and the bins they belong to. I
would like to plot the two histograms superimposed on one-another,
having group 1 bars
On Aug 24, 2010, at 10:20 PM, Jonathan Greenberg wrote:
Rhelpers:
I'm trying to make a barchart of a 2-group dataset
(barchart(x~y,data=data,groups=z,horizontal=FALSE)). My problem is
that I can't, for the life of me, seem to get rid of the inter-bar
space -- box.ratio set to 1 doesn't do
t; > Sent: Tuesday, August 24, 2010 8:21 PM
> > To: r-help
> > Subject: [R] Removing inter-bar spaces in barchart
> >
> > Rhelpers:
> >
> > I'm trying to make a barchart of a 2-group dataset
> > (barchart(x~y,data=data,groups=z,horizontal=FALSE)). My p
n...@r-
> project.org] On Behalf Of Jonathan Greenberg
> Sent: Tuesday, August 24, 2010 8:21 PM
> To: r-help
> Subject: [R] Removing inter-bar spaces in barchart
>
> Rhelpers:
>
> I'm trying to make a barchart of a 2-group dataset
> (barchart(x~y,data=data,group
Rhelpers:
I'm trying to make a barchart of a 2-group dataset
(barchart(x~y,data=data,groups=z,horizontal=FALSE)). My problem is
that I can't, for the life of me, seem to get rid of the inter-bar
space -- box.ratio set to 1 doesn't do much. Any ideas? I'd
ideally want zero space between the
8 matches
Mail list logo