[R] frequencies

Mark Myatt mark at myatt.demon.co.uk
Thu Sep 27 12:47:43 CEST 2001


C. Schulz <ozric at web.de> writes:
>Hello,
>i would like get different frequencies like
>tapply(sex,agekat,mean) ! 
>But instead of the mean value i wish the %frequencies !

Looks like a job for tables().


--
Mark Myatt


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list