This function is required to be run first before any other function can run. This will set within the package the global outcome, treatment, and covariate functions for each model to use.
init_params(outcome, treatment, covariates, data, simple = FALSE)
No return value. Called for parameter initialization.
the outcome variable of interest (must be continuous).
the treatment with the causal effect of interest on the outcome.
a list/vector of covariate names to be use for confounding adjustment.
a data frame containing the variables in the model.
a boolean indicator to build default formula with interactions. If true, interactions will be excluded. If false, interactions will be included. By default, simple is set to false.