View source: R/model-growth-prior.R
growth_sigmoid_prior | R Documentation |
Create a prior for the sigmoid growth model. If the
function arguments K
, K0
, rate
, lambda
, or NULL
, normal
distribution priors will be set.
If you would like to set a parameter as a constant, enter a numeric value for the function argument.
For other distribution options, reference brms::prior and Prior Choice Recommendations
growth_sigmoid_prior(
K = brms::prior(prior = normal(1, 0.5), nlpar = "K"),
K0 = brms::prior(prior = normal(0, 0.5), nlpar = "K0"),
rate = brms::prior(prior = normal(2, 0.5), nlpar = "rate", lb = 0),
lambda = brms::prior(prior = normal(0.5, 0.5), nlpar = "lambda"),
...
)
K |
|
K0 |
|
rate |
|
lambda |
|
... |
additional |
brms::brmsprior()
data.frame
## Not run:
priors <- growth_sigmoid_prior(
K = brms::prior(prior = normal(100, 20), nlpar = "K"),
lambda = 1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.