Check that K_matrix
is an
nPatches\(\times\)nPatchesmatrix;diagonal elements are -1;
and columns sum to 0.
After passing checks, xds_obj is updated.
In models with multiple species, use s to
specify the species to update.
Arguments
- K_matrix
a mosquito dispersal matrix
- xds_obj
an
xdsmodel object- s
the vector species index