View source: R/calculate_densities.R
calculate_densities | R Documentation |
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).
calculate_densities(focal.sp, vpm, current.densities)
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. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.