Re: [R] Cumulative lattice histograms

2008-05-12 Thread Dieter Menne
Ola Caster gmail.com> writes: > It's fairly straightforward to plot cumulative histograms using the hist() > function. You do something like: > > h <- hist(rnorm(100), plot=FALSE) > h$counts<- cumsum(h$counts) > plot(h) > > However, I have failed to find any example where this is done using the

Re: [R] Cumulative lattice histograms

2008-05-12 Thread Richard . Cotton
> It's fairly straightforward to plot cumulative histograms using the hist() > function. You do something like: > > h <- hist(rnorm(100), plot=FALSE) > h$counts<- cumsum(h$counts) > plot(h) > > However, I have failed to find any example where this is done using the > lattice histogram() function

[R] Cumulative lattice histograms

2008-05-12 Thread Ola Caster
Dear all, It's fairly straightforward to plot cumulative histograms using the hist() function. You do something like: h <- hist(rnorm(100), plot=FALSE) h$counts<- cumsum(h$counts) plot(h) However, I have failed to find any example where this is done using the lattice histogram() function. I real