[R] breaks/bins question
Jim Lemon
jim at bitwrit.com.au
Sat Feb 19 12:17:39 CET 2011
On 02/19/2011 08:50 AM, Julie McWhorter wrote:
>
> Thank you Joshua and Jim--I got the tick marks on finally!
> One last question: I am supposed to make bins in 1, 2 and 5 mm increments for fish up to 170 mm. I assume these are the breaks? So breaks = 170 for 1 mm and 340 for 2 mm and 1550 for 5 mm? I couldn't find any specific examples in the R manual. The problem is I don't think that is correct, as the histogram disappears at breaks = 1550.
Hi Julie,
Not quite. I would guess:
breaks=0:170
breaks=seq(0,170,by=2)
breaks=seq(0,170,by=5)
I'm not surprised that something went wrong with 1550 breaks.
Jim
More information about the R-help
mailing list