new_strat: Constructor for object of class "strat"

View source: R/strat.R

new_stratR 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 X_std if calculated


optrefine documentation built on April 19, 2023, 1:08 a.m.