Create a Prior for the Sigmoid Growth Model
growth_sigmoid_prior.Rd
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
Arguments
- K
brms::brmsprior()
ornumeric
. Prior for theK
parameter. (Default:normal(1, 0.5)
)- K0
brms::brmsprior()
ornumeric
. Prior for theK0
parameter. (Default:normal(0, 0.5)
)- rate
brms::brmsprior()
ornumeric
. Prior for therate
parameter. (Default:normal(1, 1)
with and a lower bound of0
).- lambda
brms::brmsprior()
ornumeric
. Prior for thelambda
parameter. (Default:normal(0.5, 0.5)
).- ...
additional
brms::brmsprior()
objects.
Value
brms::brmsprior()
data.frame
Examples
if (FALSE) { # \dontrun{
priors <- growth_sigmoid_prior(
K = brms::prior(prior = normal(100, 20), nlpar = "K"),
lambda = 1)
} # }