Skip to contents

Compute and update the state variables for a cohort

Usage

# S3 method for class 'cohort'
dts_update(t, y, pars)

Arguments

t

current simulation time

y

state vector

pars

a list

Value

a vector containing the vector of all state derivatives