| prior | R Documentation |
Create prior distribution objects used by RoBMA and brma fitting functions.
prior(
distribution,
parameters,
truncation = list(lower = -Inf, upper = Inf),
prior_weights = 1
)
distribution |
character. Prior distribution name. |
parameters |
list. Distribution parameters. |
truncation |
list with |
prior_weights |
numeric prior model weight. |
This is RoBMA's re-export of BayesTools::prior(); supported
distribution names and parameter lists follow BayesTools.
An object inheriting from prior.
prior("normal", list(mean = 0, sd = 0.5))
prior(
"normal",
list(mean = 0, sd = 0.5),
truncation = list(lower = 0, upper = Inf)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.