[R] Question about hist
Eric Pellegrini
eric.pellegrini at chemie.uni-erlangen.de
Thu Mar 17 11:19:49 CET 2005
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
More information about the R-help
mailing list