Apply link functions for parameters in a formula or bmmformula
Source:R/bmmformula.R
apply_links.Rd
This function applies the specified link functions in the list of links
to the
formula
or bmmformula
that is passed to it. This function is mostly used internally for configuring
bmmodels
.
Arguments
- formula
A
formula
orbmmformula
that the links should be applied to- links
A list of
links
that should be applied to the formula. Each element in this list should be named using the parameter labels the links should be applied for and contain a character variable specifying the link to be applied. Currently implemented links are: "log", "logit", "probit", and "identity".