> I am using R to plot some cumulative histogram for my data. Please help
> in this case.

It's not exactly a cumulative histogram, but perhaps ?ecdf is what you want:
plot(ecdf(islands))

It's also possible to abuse hist to get a cumulative histogram:
h <- hist(islands)
h$counts <- cumsum(h$counts)
plot(h)

(but that was just a quick attempt so may break other code)

Hadley

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to