View source: R/model-growth-stanvars.R
growth_sigmoid_stanvar | R Documentation |
Stan Code for the Growth Richards Function.
growth_sigmoid_stanvar()
stanvar script of a sigmoid growth model response equation
## Not run:
brms::brm(
data = data.frame(
response = ...,
time = ...),
formula = brms::brmsformula(
response ~ growth_sigmoid(K, K0, rate, lambda, time),
K + K0 + rate + lambda ~ 1,
nl = TRUE),
prior = ...,
init = ...,
stanvars = BayesPharma::growth_sigmoid_stanvar())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.