[R] frequency table with custom bands

jcrosbie james at crosb.ie
Wed Oct 17 01:37:30 CEST 2012


I would like to create a frequency table with custom bands. 

seq1 = seq(0, 100, by = 5)
seq2 = seq(100, 1000, by = 100)
Bands = c(seq1, seq2)
Prices = sample(1:1000, 200, replace=F)

How would  I go about find the frequency of prices within each band? 





--
View this message in context: http://r.789695.n4.nabble.com/frequency-table-with-custom-bands-tp4646413.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list