dispersal_fixed_weighted: Weighted and fixed sized dispersal

View source: R/RcppExports.R

dispersal_fixed_weightedR Documentation

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)

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.

Value

⁠<numeric matrix>⁠ The new abundance matrix.


metaRange documentation built on May 29, 2024, 5:54 a.m.