latfordisp: Apply kernels to model foraging or dispersal in space

Description Usage Arguments Value

View source: R/latfordisp.R

Description

For foragers occupying a or more cells of a matrix, applies a spatial kernel weighted by the available resources such that foragers appear in cells that are both close-by and have higher resources.

Usage

1
latfordisp(N, alpha, decay)

Arguments

N

the matrix of foragers (source units)

alpha

the matrix of resources

decay

the dispersal kernel, for example produced by kerncalc

Value

a list containing :

Racc_per_forager

the number of queens at the end of each period and at the beginning of the next season

visitation_rate

the visitation rates per cell

distance_weighted_resources

matrix of resources weighted by the kernal


yclough/ecodeal documentation built on May 14, 2019, 2:01 a.m.