Skip to contents

Stan Code for the Richards Growth Function.

Usage

growth_richards_stanvar()

Note

stanvar script of a Richard growth model response equation.

Examples

if (FALSE) { # \dontrun{
brms::brm(
  data = data.frame(
    response = ...,
    time = ...),
  formula = brms::brmsformula(
    response ~ growth_richards(K, K0, rate, lambda, nu, time),
    K + K0 + rate + lambda + nu ~ 1,
    nl = TRUE),
  prior = ...,
  init =  ...,
  stanvars = BayesPharma::growth_sigmoid_stanvar())
} # }