te_parsnip_model-class {TrialEmulation} | R Documentation |
Fit Models using parsnip
Description
The classes and (internal) methods defined for using parsnip to fit the weight models.
Usage
## S4 method for signature 'te_parsnip_model'
fit_weights_model(object, data, formula, label)
Arguments
object |
The object determining which method should be used, containing any slots containing user defined parameters. |
data |
|
formula |
|
label |
A short string describing the model. |
Functions
-
fit_weights_model(te_parsnip_model)
: Fit the weight models object via calculate_weights ontrial_sequence
Slots
model_spec
A model specification defined with the
parsnip
package.
See Also
Other model_fitter_classes:
te_stats_glm_logit-class
[Package TrialEmulation version 0.0.4.0 Index]