Learn R Programming

Momocs (version 1.0.0)

table: Cross-tabulates objects

Description

Simply extends base table for a more convenient use on $fac slot.

Usage

table(...)
"table"(...)
"table"(...)
"table"(...)
"table"(...)
"table"(...)

Arguments

...
a list of, first, a Momocs object (Coo, Coe, PCA, etc.), then, column names in the $fac slot. If not specified, returns a table on the entire $fac data.frame

Examples

Run this code
data(bot)
table(bot)
data(olea)
table(olea, "var", "domes")
table(olea)

Run the code above in your browser using DataLab