Learn R Programming

clust.bin.pair (version 0.1.2)

nested.to.contingency: Convert between nested results and the canonical contingency tables

Description

Sum all concordant and discordant pairs from each nested group into a contingency table.

Usage

nested.to.contingency(t1, t2)

Arguments

t1

lists of pre-treatment measures

t2

lists of post-treatment measures

Value

Contingency tables represented in the rows of a matrix

Examples

Run this code
# NOT RUN {
nested.to.contingency(thyroids$x.pet, thyroids$x.spect)

# }

Run the code above in your browser using DataLab