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/poll4pop documentation built on Sept. 7, 2020, 1:13 p.m.