conttab: Create contingency table

Description Usage Arguments See Also Examples

View source: R/conttab.R

Description

Create a contingency table from given variables.

Usage

1
conttab(..., prob = FALSE)

Arguments

prob

returns probabilities instead of counts.

...

contingency table is build of variables in ...

See Also

table

Examples

1
2
3
4
5
6
data(Tests)
x <- Tests[Tests$Sample == "P", "x"]
y <- Tests[Tests$Sample == "P", "y"]

conttab(x)
conttab(x, y)

twolodzko/equi documentation built on Nov. 11, 2020, 4:04 p.m.