covariates_data
ObjectConstructs a covariates_data
object which stores the dataset of known covariate levels of each factor.
covariates_data(covariates, data, covariates_id = NULL)
Returns a covariates_data
object.
a covariates
object
a dataset of covariate values, with columns equal to each of the covariate factors and rows related to individual claim observations.
optional list of list of ids, in the same format as a claim_size
output. Also see to_SynthETIC
. Defaults to NULL
.