freq: Builds a function to calculate cross-tabulated frequencies

Description Usage Arguments Value

Description

Builds a function to calculate cross-tabulated frequencies

Usage

1
2
freq(proportion = c("column", "row", "none"), display = c("percentage",
  "ratio"), digits = 3, missing = NULL)

Arguments

proportion

Whether to display proportions in brackets after the counts as either row-wise or column-wise, or not at all.

display

How to display the proportions if required.

digits

The number of digits to specify proportion to.

missing

Specifies covariates that shouldn't be included in calculating proportions for column-wise summaries.

Value

A function that calculates the frequency of a cell in a contingency table.


epitab documentation built on May 1, 2019, 7:05 p.m.