stratumStructure {optmatch} | R Documentation |
Tabulate treatment:control ratios occurring in matched sets, and the frequency of their occurrence.
stratumStructure(stratum,trtgrp=NULL)
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 .) |
A table showing frequency of occurrence of those treatment:control ratios that occur.
Ben Hansen
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)