synthesis.model | R Documentation |
Defines a synthesis model for the inclusion in the synthesis.
synthesis.model(formula, type, fixed = FALSE, proposal = NULL, ...)
formula |
formula: model formula |
type |
character: variable type. Possible values are "continuous", "binary", and "categorical". |
fixed |
logical: if |
proposal |
(optional) numeric: standard deviation of proposal distribution (only used if |
... |
(optional): additional arguments passed to the model fitting function (e.g., |
This function defines a synthesis model for the inclusion in the synthesis.
Each synthesis model includes between and outcome variable and any number of predictors as a formula formula
(`outcome ~ 1 + ...`
).
One or more of these models can be included in the synthesis by passing them to combine.models
.
For continuous variables, the proposal
argument can be used to specify the standard deviation of the proposal distribution used in the synthesis.
If proposal
is not specified, combine.models
will attempt to set it to a sensible value on the basis of the data.
For usage examples, see combine.models
.
An object of class robosynth.synthesis.model
.
Simon Grund
combine.models
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.