Develop a mosquito dispersal matrix from a kernel and xy-coordinates

create_calK_xy(xy, ker)

Arguments

xy

is a vector of the xy-coordinates of patch locations

ker

is a function that weights putative locations by distance