Using the output of deSolve::ode or deSolve::dede, compute the NI for each stratum

compute_NI(dts_out, pars, i)

Arguments

dts_out

a matrix, the output of deSolve

pars

a list

i

the host species index

Value

numeric containing the NI