growth_richards_stanvar: Stan Code for the Richards Growth Function.

View source: R/model-growth-stanvars.R

growth_richards_stanvarR Documentation

Stan Code for the Richards Growth Function.

Description

Stan Code for the Richards Growth Function.

Usage

growth_richards_stanvar()

Note

stanvar script of a Richard growth model response equation.

Examples

## Not run: 
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())

## End(Not run)


maomlab/BayesPharma documentation built on Aug. 24, 2024, 8:45 a.m.