stratumStructure {optmatch}R Documentation

Return structure of matched sets

Description

Tabulate treatment:control ratios occurring in matched sets, and the frequency of their occurrence.

Usage

stratumStructure(stratum,trtgrp=NULL)

Arguments

stratum Matched strata, as returned by fullmatch or pairmatch
trtgrp Dummy variable for treatment group membership. (Not required if stratum is an optmatch object, as returned by fullmatch or pairmatch.)

Value

A table showing frequency of occurrence of those treatment:control ratios that occur.

Note

Author(s)

Ben Hansen

See Also

matched, fullmatch

Examples

data(plantdist)

plantsfm <- fullmatch(plantdist) # A full match with unrestricted
                                 # treatment-control balance
plantsfm1 <- fullmatch(plantdist,min.controls=2, max.controls=3)

stratumStructure(plantsfm)
stratumStructure(plantsfm1)

[Package optmatch version 0.3-3 Index]