Re: [R] histogram plot as step function

2007-11-15 Thread David Scott
On Thu, 15 Nov 2007, Hakim Tafer wrote: > Hi > > I want to plot a histogram (not cumulative!) as a step-function. > Any idea how achieve this? > > Thank you > Well if I understand you correctly you can do this. x<-rnorm(100) par(mfrow=c(2,1)) hist(x) histRes <- hist(x,plot=FALSE) xvals <- histRe

[R] histogram plot as step function

2007-11-15 Thread Hakim Tafer
Hi I want to plot a histogram (not cumulative!) as a step-function. Any idea how achieve this? Thank you __ R-help@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