growth_sigmoid_stanvar: Stan Code for the Growth Richards Function.

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

growth_sigmoid_stanvarR Documentation

Stan Code for the Growth Richards Function.

Description

Stan Code for the Growth Richards Function.

Usage

growth_sigmoid_stanvar()

Note

stanvar script of a sigmoid growth model response equation

Examples

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

## End(Not run)


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