Last chance! 50% off unlimited learning
Sale ends in
cox
marks terms in formulae of the functions
twinSIR
and simEpidata
as endemic components,
i.e. variables acting multiplicatively on the baseline infection intensity.Technically, this function is implemented as function(x) {x}
and
defined as terms.formula
.
twinSIR
and
simEpidata
.# a hypothetic call of the fitting function 'twinSIR' with two epidemic and
# two endemic covariates:
twinSIR( ~ B1 + B2 + cox(vaccination) + cox(size), data = myEpidata)
Run the code above in your browser using DataLab