Learn R Programming

packHV (version 2.4)

multi.table: Multi cross table

Description

Builds a big cross table between several covariates

Usage

multi.table(data, vars)

Value

A matrix containing all the contingency tables between the covariates

Arguments

data

the data frame in which we can find vars

vars

vector of character string of covariates

Author

Hugo Varet

See Also

plot_multi.table

Examples

Run this code
multi.table(cgd,c("treat","sex","inherit"))

Run the code above in your browser using DataLab