Skip to contents

Implements setup_K_matrix for the herethere model: dispersal to every other patch, with equal probability

Usage

# S3 method for class 'as_matrix'
setup_K_matrix(Kname, 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