freq {epitab} | R Documentation |
Builds a function to calculate cross-tabulated frequencies
Description
Builds a function to calculate cross-tabulated frequencies
Usage
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 |
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.
[Package epitab version 0.2.2 Index]