This method dispatches on the type of pars$mass_treat.

F_take_drugs(t, y, Xpars, take_drugs_mod)

Arguments

t

current simulation time

y

state vector

Xpars

an Xmod object

take_drugs_mod

a function

Value

a numeric vector of length nStrata