Skip to content
Prev 25128 / 398502 Next

frequency table

On 11/10/02 11:55, Milan Toth wrote:
table()

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:

apply(mymatrix,2,table)

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