RE: [R] Generating a vector for breaks in a histogram

2003-07-06 Thread Mulholland, Tom
My gut feeling is that stacked dotplots would have given you the same insight. In general terms it's about getting the right tool for the right job. My comment was about the order of choosing rather than ignoring totally. If I recall correctly the article about dot plots was about old fashioned

RE: [R] Generating a vector for breaks in a histogram

2003-07-04 Thread Prof Brian Ripley
Things have moved on since the ASH work too, but I would agree that density estimation is often a better way than histograms. However, close to state-of-the-art density estimation is built into R (?density) and packages `polspline', `KernSmooth' and `sm' are also much more advanced than `ash'.

RE: [R] Generating a vector for breaks in a histogram

2003-07-03 Thread michael watson (IAH-C)
Fantastic. You're right, I was looking for seq(). However, my plan for using it for hist() was foiled! I thought if I did something like: b - seq(0,500,10) hist(myvble,breaks=b) It would bin myvble into the bins 0-50,50-100,100-150 etc and in that way I could ensure that two histograms

RE: [R] Generating a vector for breaks in a histogram

2003-07-03 Thread Prof Brian Ripley
On Thu, 3 Jul 2003, michael watson (IAH-C) wrote: Fantastic. You're right, I was looking for seq(). However, my plan for using it for hist() was foiled! I thought if I did something like: b - seq(0,500,10) hist(myvble,breaks=b) It would bin myvble into the bins

Re: [R] Generating a vector for breaks in a histogram

2003-07-03 Thread Duncan Murdoch
On Thu, 3 Jul 2003 14:48:04 +0100 , michael watson (IAH-C) [EMAIL PROTECTED] wrote : Now this makes sense of course, my bins probably DON'T span the entire range of X. SO I am still left with the same problem: 1) two variables 2) I want to draw histograms of both 3) I want them to have the

RE: [R] Generating a vector for breaks in a histogram

2003-07-03 Thread Mulholland, Tom
One of my discoveries while learning the art of R, is that time has moved on since I did my basic statistics in school (although to my dismay the teaching of statistics in school appears also to have not noticed the movement.) I have seen a few references when people want to pie chart something,