Re: [R] hist plot

2006-10-06 Thread David Barron
This is taken from the help for the hist function: Typical plots with vertical bars are not histograms. Consider barplot or plot(*, type = h) for such bar plots. For example: x - rchisq(100, df = 4) op-hist(x, freq = FALSE, ylim = c(0, 0.2)) plot(op$mids,op$counts,type=h) On 06/10/06,

Re: [R] hist plot

2006-10-06 Thread Jim Lemon
Baoqiang Cao wrote: Hi there, I really couldn't find out how to plot histogram with point/line instead of rectangle for each bin? Any help please? Thanks! This is a guess, but... y-hist(rnorm(100,3),plot=FALSE)$counts x-barplot(y,width=0.01,space=20) points(x,y) Jim

[R] hist plot

2006-10-05 Thread Baoqiang Cao
Hi there, I really couldn't find out how to plot histogram with point/line instead of rectangle for each bin? Any help please? Thanks! Best, -Cao __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] hist plot and custom band width

2003-11-25 Thread Mathieu Drapeau
Hi, I have some difficulties to figure how to set a range to my histogram bands. I have values that are [0,50] and they appear once in my list. How can I do a histogram that include all the values between a range of 1 together? [0,1],[10001,2],[21,3], ... Thanks, Mathieu

Re: [R] hist plot and custom band width

2003-11-25 Thread Jason Turner
Mathieu Drapeau wrote: Hi, I have some difficulties to figure how to set a range to my histogram bands. I have values that are [0,50] and they appear once in my list. How can I do a histogram that include all the values between a range of 1 together?