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
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
2 matches
Mail list logo