[R] Own classes in "histogram"

From: Denis Aydin <Denis.Aydin_at_stud.unibas.ch>
Date: Wed, 16 Jan 2008 15:12:07 +0100


I try to make a histogram from a variable that contains the number of shoots from about 1000 individuals from a specific plant species (the range is 1-110). Those numbers are highly skewed to the right.

My question is: how can I make my own classes with the lattice "histogram"?

I tried it with "breaks=c(0,5,10,15,20,25,110)" but my "25-110"-class is presented as one huge bin ranging from 25 to 110.
Is there a way to plot this bin in equal size as the others? And how is it possible to change the annotation of the x-axis, let's say the last tick named ">25"?

Thanks for any help!

Denis Aydin
Mittwoch, 16. Januar 2008, 14:56

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 16 Jan 2008 - 14:15:30 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 16 Jan 2008 - 17:30:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive