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

data.frame containing outcomes and covariates as defined in formula.

formula

formula describing the model.

label

A short string describing the model.

Functions

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]