The classes and (internal) methods defined for using parsnip to fit the weight models.
# S4 method for te_parsnip_model
fit_weights_model(object, data, formula, label)
The object determining which method should be used, containing any slots containing user defined parameters.
data.frame
containing outcomes and covariates as defined in formula
.
formula
describing the model.
A short string describing the model.
fit_weights_model(te_parsnip_model)
: Fit the weight models object via calculate_weights on trial_sequence
model_spec
A model specification defined with the parsnip
package.
Other model_fitter_classes:
te_stats_glm_logit-class