Skip to contents

Stan Code for the Growth Richards Function.

Usage

growth_sigmoid_stanvar()

Note

stanvar script of a sigmoid growth model response equation

Examples

if (FALSE) { # \dontrun{
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())
} # }