Henrique Dallazuanna schrieb:
You can do this:
hh <- lapply(h, head, mh)
hh$breaks <- head(h$breaks, mh + 1)
class(hh) <- "histogram"
plot(hh)
Thanks a lot, that's exactly what I need :-) (I did not consider the class...)
Putting an xlim could also be an solution but I think this is much more
> I tried to shorten my histogram (because the distribution is quite skewed
> and I simply don't want to see the long tail but still use the histogram
> plot). How can I do something like this? (The example does not work but I
> don't know why...)
>
> data <- rnorm(100) # as example, of course t
You can do this:
hh <- lapply(h, head, mh)
hh$breaks <- head(h$breaks, mh + 1)
class(hh) <- "histogram"
plot(hh)
On Mon, Sep 1, 2008 at 10:44 AM, Antje <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I hope this question is not as stupid as the one before ...
> I tried to shorten my histogram (becaus
ody of
data.
~ John Tukey
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Namens Antje
Verzonden: maandag 1 september 2008 15:44
Aan: [EMAIL PROTECTED]
Onderwerp: [R] another histogram question
Hi there,
I hope this question is not as stupid as the one before ..
Hi there,
I hope this question is not as stupid as the one before ...
I tried to shorten my histogram (because the distribution is quite skewed and I
simply don't want to see the long tail but still use the histogram plot). How
can I do something like this? (The example does not work but I don'
5 matches
Mail list logo