View source: R/bayesian_helpers.R
log_prior | R Documentation |
Calculate log prior (one set of parameters at a time)
log_prior(.samples, .l_params, .transform)
.samples |
A vector/dataset containing sampled/proposed values. |
.l_params |
A list that contains a vector of parameter names, distributions and distributions' arguments. |
.transform |
Logical for whether to back-transform parameters to their original scale. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.