View source: R/lorad-transform.R
lorad_transform | R Documentation |
Log-transforms parameters with support (0,infinity), log-ratio transforms K-dimensional parameters with support a (K-1)-simplex, logit transforms parameters with support [0,1], and leaves unchanged parameters with unconstrained support (-infinity, infinity).
lorad_transform(params, colspec)
params |
Data frame containing a column for each model parameter sampled as well as one or more columns that, when summed, constitute the log joint posterior kernel |
colspec |
Named character vector matching each column name in params with a column specification |
A new data frame comprising transformed parameter values with a final column holding the log joint posterior kernel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.