print.crosstab: Print a crosstab object

Description Usage Arguments Examples

View source: R/print.crosstab.R

Description

This function prints the results of a calculated two-way frequency table.

Usage

1
2
## S3 method for class 'crosstab'
print(x, ...)

Arguments

x

An object of class crosstab

...

not currently used.

Examples

1
2
3
4
5
mycrosstab <- crosstab(mtcars, cyl, gear, type = "freq", digits = 2)
print(mycrosstab)

mycrosstab <- crosstab(mtcars, cyl, gear, type = "rowpercent", digits = 3)
print(mycrosstab)

Rkabacoff/qacr documentation built on March 20, 2021, 3:03 p.m.