Learn R Programming

mStats (version 3.2.2)

splitTables: Split tables to make 2x2 tables

Description

splitTables() separates table with rows more than 2 into several tables using a reference row.

Usage

splitTables(.tbl, .exp.value = NULL)

Arguments

.tbl

table

.exp.value

reference row

Details

This function is used in calculating risks, odds and associated measures.