logjac: Wrapper to abstractly evaluate log-Jacobian functions for transforms
Description
Wrapper to abstractly evaluate log-Jacobian functions for transforms
Usage
logjac(x, link, linkparams)
Arguments
x
values at which to evaluate \(J(x)\)
link
Character vector specifying link function for which the
inverse link function should be evaluated. Supports 'identity',
'log', and 'logit'.
linkparams
Optional list of additional parameters for link functions.
For example, the logit function can be extended to allow mappings to any
closed interval. There should be one list entry for each link function.
Specify NA if defaults should be used.