get_prior | R Documentation |
Starts by finding all default priors. Then replace them with user priors. User priors for change points are truncated appropriately using 'truncate_prior_cp“, if not done manually by the user already.
get_prior(ST, family, prior = list())
ST |
Tibble. A segment table returned by |
family |
One of |
prior |
A list of user-defined priors. Will overwrite the relevant default priors. |
A named list of strings. The names correspond to the parameter names and the strings are the JAGS code for the prior (before converting SD to precision).
Jonas Kristoffer Lindeløv jonas@lindeloev.dk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.