View source: R/print.crosstab.R
print.crosstab | R Documentation |
This function prints the results of a calculated two-way frequency table.
## S3 method for class 'crosstab' print(x, ...)
x |
An object of class |
... |
not currently used. |
No return value, called for side effects
mycrosstab <- crosstab(mtcars, cyl, gear, type = "freq", digits = 2) print(mycrosstab) mycrosstab <- crosstab(mtcars, cyl, gear, type = "rowpercent", digits = 3) print(mycrosstab)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.