masking.model | R Documentation |
Defines a masking model for the inclusion in the synthesis.
masking.model(formula, type, mask = NULL, ...)
formula |
formula: model formula |
type |
character: variable type. Possible values are "continuous", "binary", and "categorical". |
mask |
(optional): parameters of the masking model (see Details). |
... |
(optional): additional arguments passed to the model fitting function (e.g., |
This function defines a masking model for the inclusion in the synthesis.
Each masking model defines the relation between a variable and its masked copy as a formula
, where the original variable is specified on the right-hand side of formula
and the masked copy on the left-hand side (`copy` ~ `original`
).
Each masking model must be accompanied by a synthesis model for the respective variable as defined with synthesis.model
.
One or more of these models can be included in the synthesis by passing them to combine.models
.
The parameters of the masking model correspond to those that were used to generate the masked copies (with mask.continuous
or mask.categorical
).
Specifying the parameters is optional.
If the parameters are not specified, combine.models
will attempt to extract them from the data.
For usage examples, see combine.models
.
An object of class robosynth.masking.model
.
Simon Grund
combine.models
, synthesis.model
, mask.categorical
, mask.continuous
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.