R/shock.R
setup_shock_func.Rd
If dynamic forcing has not already been set up, then turn on dynamic forcing and set all the
setup_shock_func(pars, opts = list(), eventT = 365, F_shock = NULL)
an xds object
xds
a list of options to override defaults
the time when a shock occurs
the effects of the shock