Skip to content
Prev 66042 / 398506 Next

Question about hist

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