Learn R Programming

metaRange (version 1.1.4)

dispersal_fixed_weighted: Weighted and fixed sized dispersal

Description

Dispersal function that uses a fixed sized kernel and weighted dispersal towards areas that have a higher weight. Use case are e.g. animals that can sense their surroundings.

Usage

dispersal_fixed_weighted(abundance, weights, dispersal_kernel)

Value

<numeric matrix> The new abundance matrix.

Arguments

abundance

<numeric matrix> Values need to be non-negative.

weights

<numeric matrix> Values need to non-missing and between 0 and 1 for the result to make sense. Needs to have same size as abundance.

dispersal_kernel

<numeric matrix> Dispersal kernel. Needs to have an odd size.