Dear R forum
I have a following vector of random no.s x = runif(100, 0.01, 0.99) [1] 0.47212037 0.77867992 0.33947474 0.93369035 [5] 0.03720073 0.79307831 0.81801835 0.92710688 ................................................. I need to count the random no. falling in the range (0 - 0.10), (0.10 - 0.20), (0.20 - 0.30)..upto (0.90 - 1) Thus, I need to have a data frame as range frequency 0 - 0.10 ....... 0.10 - 0.20 ....... ...................................... 0.90 - 1 ......... I understand I need to write my code and ask for some help if the need be. But I am simply clueless at the moment. Kindly guide. Katherine [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.