new_strat {optrefine} | R Documentation |
Constructor for object of class "strat"
Description
Creates an object of S3 class "strat"
Usage
new_strat(z, X, base_strata = NULL, refined_strata = NULL, details = NULL)
Arguments
z |
Vector of treatment assignment |
X |
Covariate matrix or data.frame |
base_strata |
Original strata, if they exist |
refined_strata |
Refined strata, if they exist |
details |
A list of details from the linear program.
Also includes |
[Package optrefine version 1.1.0 Index]