Covariate set handed to forestsearch()/mrct_region_sims() for the paper's observed vs unobserved analysis cases.
Source:R/mrct_inject_dgm.R
analysis_covariates.RdCovariate set handed to forestsearch()/mrct_region_sims() for the paper's observed vs unobserved analysis cases.
Arguments
- dgm
An MRCT data-generating mechanism returned by
inject_mrct_structure(). Itsdf_supersupplies thez_covariate columns and itsmrctcomponent supplies the region indicator name and the effect-modifier (X2) variables.- case
Character.
"observed"(default) keeps everyz_covariate except the region indicator and spline helper columns;"unobserved"additionally drops the effect-modifier (X2) covariates.- drop
Character vector of covariate names (without the
z_prefix) to remove from the returned set. Defaultcharacter(0)removes nothing.