Apply link functions for parameters in a formula or bmmformula
Source:R/bmmformula.R
apply_links.RdThis 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
formulaorbmmformulathat the links should be applied to- links
A list of
linksthat 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".