Skip to contents

Set up a mosquito dispersal matrix from a set of \(x,y\) coordinates and a kernel, a function that assigns weights by distance. The fraction leaving from each patch that arrive at other patch is the vector of normalized weights.

Usage

# S3 method for class 'xy'
setup_K_matrix(Kname = "xy", s, xds_obj, options = list())

Arguments

Kname

a matrix or a string

s

the vector species index

xds_obj

an xds model object

options

a list of options to configure K_matrix

Value

a matrix