Table: Cross tabulation and table creation

View source: R/tables_bivariate.R

TableR Documentation

Cross tabulation and table creation

Description

This is a wrapper around table (using useNA = "ifany" by default) and addsmargins.

Usage

Table(..., useNA = "ifany", f = list(Sum = sum), margin = NULL, quiet = TRUE)

Arguments

...

Arguments to be passed to table.

useNA

display NA counts

f

function to be used for summaries

margin

addmargins margin parameter

quiet

addmargins quiet parameter

Value

The function return same results of table with NA (if present) and margins.

Examples

with(airquality, Table(Month, Day))

lbraglia/lbstat documentation built on Oct. 11, 2024, 6:34 p.m.