Re: [R] hist{graphics}

2019-07-15 Thread Martin Maechler
> Duncan Murdoch > on Sat, 13 Jul 2019 05:29:18 -0400 writes: > On 12/07/2019 11:38 a.m., Steven wrote: >> Never mind. Thanks. >> >> I found that adding parameter right=F to the call fixes it. > Drawing a histogram of discrete data often leads to bad results.

Re: [R] hist{graphics}

2019-07-14 Thread Duncan Mackay
] hist{graphics} Also checkout MASS::truehist or simply consider setting breaks so as not to coincide with data values. (hist() not doing something like this, but instead actively aiming for pretty breaks is something of a design bug in my book, but ancient history and not easy to change at this

Re: [R] hist{graphics}

2019-07-13 Thread peter dalgaard
Also checkout MASS::truehist or simply consider setting breaks so as not to coincide with data values. (hist() not doing something like this, but instead actively aiming for pretty breaks is something of a design bug in my book, but ancient history and not easy to change at this point in time.)

Re: [R] hist{graphics}

2019-07-13 Thread Duncan Murdoch
On 12/07/2019 11:38 a.m., Steven wrote: Never mind. Thanks. I found that adding parameter right=F to the call fixes it. Drawing a histogram of discrete data often leads to bad results. Histograms are intended for continuous data, where no observations fall on bin boundaries. You often get

Re: [R] hist{graphics}

2019-07-12 Thread Steven
Never mind. Thanks. I found that adding parameter right=F to the call fixes it. On 2019/7/12 下午 05:10, Steven wrote: # Can someone help with this simple frequency histogram problem (n = 15)? # I use four class limits: [90,95], [95,100], [100,105], [105,110]. # These coincide with the limits obt

[R] hist{graphics}

2019-07-12 Thread Steven
# Can someone help with this simple frequency histogram problem (n = 15)? # I use four class limits: [90,95], [95,100], [100,105], [105,110]. # These coincide with the limits obtain by pretty {base}. # Proper frequencies would be: (1,5,6,3). # But hist{graphics} gives me a histogram showing freque

[R] hist{graphics}

2019-07-12 Thread Steven T. Yen
# Can someone help with this simple frequency histogram problem (n = 15)? # I use four class limits: [90,95], [95,100], [100,105], [105,110]. # These coincide with the limits obtain by pretty {base}. # Proper frequencies would be: (1,5,6,3). # But hist{graphics} gives me a histogram showing freque