[R] Question about hist

From: Eric Pellegrini <eric.pellegrini_at_chemie.uni-erlangen.de>
Date: Thu 17 Mar 2005 - 21:19:49 EST


Hi all,

here is my problem:

I have a list (called rms) that contains for each of its element a different number of values.

Based on that list, I generate an histogram for each of its elements using:

histList <- lapply(rms,hist,breaks=seq(0,4,0.1),plot=FALSE)

that gives me a list of histograms (called histList)

Now, I would like to get the cumulative sum for the field $counts of each of the element of histList using cumsum function.

Is that possible given the way I used or is there a simpler one ?

Thank you very much

        Eric

-- 
Eric Pellegrini, PhD
Computer-Chemie-Centrum
University of Erlangen-Nürnberg
Nägelbachstraße, 25
D-91052 Erlangen
Germany

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Thu Mar 17 21:27:16 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:50 EST