--Original Message-
From: Ivan Calandra
Sender: r-help-boun...@r-project.org
Date: Mon, 15 Nov 2010 16:08:47
To:
Reply-To: ivan.calan...@uni-hamburg.de
Subject: Re: [R] Help with Hist
Hi,
I think you should also give the upper extreme:
x<- c(rnorm(80)+10, 101:110, 2001:2010)
hist(x, break
ivan.calan...@uni-hamburg.de
Subject: Re: [R] Help with Hist
Hi,
I think you should also give the upper extreme:
x<- c(rnorm(80)+10, 101:110, 2001:2010)
hist(x, breaks=c(0, 20, 40, 60, 80, 100, 200, 500))
Error in hist.default(x, breaks = c(0, 20, 40, 60, 80, 100, 200, 500)) :
some 'x
0 16:08:47
To:
Reply-To: ivan.calan...@uni-hamburg.de
Subject: Re: [R] Help with Hist
Hi,
I think you should also give the upper extreme:
x <- c(rnorm(80)+10, 101:110, 2001:2010)
hist(x, breaks=c(0, 20, 40, 60, 80, 100, 200, 500))
Error in hist.default(x, breaks = c(0, 20, 40, 60, 80,
Steve Sidney mweb.co.za> writes:
> I am trying to re-scale a histogram and using hist() but can not seem to
> create a reduced scale where the upper values are not plotted.
>
> What I have is about 100 of which 80 or so are between a value of 0 and
> 40 , one or two in the hundreds and an outl
SteveSB wrote:
>
> What I have is about 100 of which 80 or so are between a value of 0 and
> 40 , one or two in the hundreds and an outlier around 2000.
>
>
Have a look at gap.barplot in package plotrix. Personally, I prefer to use
xlim(x(0,100) in this case and add "one outlier at t=2000" i
Hi,
I think you should also give the upper extreme:
x <- c(rnorm(80)+10, 101:110, 2001:2010)
hist(x, breaks=c(0, 20, 40, 60, 80, 100, 200, 500))
Error in hist.default(x, breaks = c(0, 20, 40, 60, 80, 100, 200, 500)) :
some 'x' not counted; maybe 'breaks' do not span range of 'x'
hist(x, breaks
Dear list
I am trying to re-scale a histogram and using hist() but can not seem to
create a reduced scale where the upper values are not plotted.
What I have is about 100 of which 80 or so are between a value of 0 and
40 , one or two in the hundreds and an outlier around 2000.
What I would
7 matches
Mail list logo