View source: R/model-growth-init.R
growth_richards_init | R Documentation |
Create initial values for Richards growth model parameters that can be passed to the growth_richards_model.
growth_richards_init(
K = function() stats::runif(n = 1, min = 0.8, max = 1.2),
K0 = function() stats::runif(n = 1, min = -0.2, max = 0.2),
rate = function() stats::runif(n = 1, min = 0.8, max = 1.2),
lambda = function() stats::runif(n = 1, min = 0.3, max = 0.7),
nu = function() stats::runif(n = 1, min = 0.8, max = 1.2),
...
)
K |
|
K0 |
|
rate |
|
lambda |
|
nu |
|
... |
additional parameter initialization. Each named argument should be
a function that returns an |
input for [brm][brms::brm](init = ...)
growth_richards_formula, growth_richards_prior, and growth_richards_model
## Not run:
init <- BayesPharma::growth_richards_init(
A = 100,
nu = 2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.