calculate_densities: Obtain species densities from transition matrices

View source: R/calculate_densities.R

calculate_densitiesR Documentation

Obtain species densities from transition matrices

Description

Using the vec-permutation approach as defined in: Hunter and Caswell 2005, doi:10.1016/j.ecolmodel.2005.05.002, Ozgul et al. 2009, doi: 10.1086/597225 In particular, it uses the arrangement by patches, and calculates first demography, then dispersal (Table 1 of Hunter and Caswell 2005).

Usage

calculate_densities(focal.sp, vpm, current.densities)

Arguments

focal.sp

integer, focal species

vpm

data structure holding all vector-permutation matrices; see 'vec_permutation_matrices'. If not in an appropriate format, it is likely to fail without warning.

current.densities

list of length sp, each element is a matrix sites*stages. If not in that format, it is likely to fail without warning.

Value

matrix of sites x stages, each element is the density of a given life stage (juvenile, non-reproductive adult, reproductive adult) at a given site.


cxr documentation built on Oct. 27, 2023, 1:08 a.m.