print.crosstab: Print a crosstab object

View source: R/print.crosstab.R

print.crosstabR Documentation

Print a crosstab object

Description

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

Usage

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

Arguments

x

An object of class crosstab

...

not currently used.

Value

No return value, called for side effects

Examples

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

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

Rkabacoff/qacBase documentation built on June 23, 2022, 7:13 p.m.