[R] frequency table

Jonathan Baron baron at cattell.psych.upenn.edu
Sun Nov 10 13:26:06 CET 2002

On 11/10/02 11:55, Milan Toth wrote:
>is anybody whoo know something about making frequency tables in R. i'm 
>just beginner in R. thank you.


Learn how to use the help system too.  When that fails, use my
help page.

A neat trick with table() is that you can use it to tabulate
columns of a matrix (for example) with:


Another neat trick is that you can plot it with plot() or

Jonathan Baron, Professor of Psychology, University of Pennsylvania
R page:               http://finzi.psych.upenn.edu/

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