Create a Prior for the Richards Growth Model
growth_richards_prior.RdCreate a priors for the Richards growth model. If the
function arguments K, K0, rate, lambda, or nu are 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
Usage
growth_richards_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"),
nu = brms::prior(prior = normal(1, 1), nlpar = "nu", lb = 0),
...
)Arguments
- K
brms::brmsprior()ornumeric. Prior for theKparameter. (Default:normal(1, 0.5)).- K0
brms::brmsprior()ornumeric. Prior for theK0parameter. (Default:normal(0, 0.5)).- rate
brms::brmsprior()ornumeric. Prior for therateparameter. (Default:normal(1, 1)with and a lower bound of0).- lambda
brms::brmsprior()ornumeric. Prior for thelambdaparameter. (Default:normal(0.5, 0.5)).- nu
brms::brmsprior()ornumeric. Prior for thenuparameter. (Default: normal(1, 1) with a lower bound of0).- ...
additional
brms::brmsprior()objects.
Value
brms::brmsprior() data.frame