Hi! Let's say I have vector x with positive integer values ranging from 1 to N. I need to obtain another vector y of size N where y[i] contains the number of times value i occurs in x. It is in a sense similar to hist() (with appropriate number of breaks) or table() with numeric "factors".
Currenlty I use a custom function for that, but thought maybe there is a more "direct" way in R. Thanks! -- Vlad Skvortsov, [EMAIL PROTECTED], http://vss.73rus.com ______________________________________________ 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.