View source: R/model-growth-init.R
growth_sigmoid_init | R Documentation |
Create initial values for sigmoid growth model parameters that can be passed to the growth_sigmoid_model.
growth_sigmoid_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),
...
)
K |
|
K0 |
|
rate |
|
lambda |
|
... |
additional parameter initialization. Each named argument should be
a function that returns a |
input for [brms::brm](init = ...)
growth_sigmoid_formula, growth_sigmoid_prior, and growth_sigmoid_model
## Not run:
init <- BayesPharma::growth_sigmoid_init(
A = 100)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.