fill_demography_matrix {cxr}R Documentation

Fill the vec-permutation demography matrix

Description

Fill for a given species, across all sites.

Usage

fill_demography_matrix(focal.sp, vpm, transition_matrices)

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.

transition_matrices

nested list species x sites, in which each element holds a 3x3 transition matrix. If not in that format, it is likely to fail without warning.

Value

vec-permutation demography matrix for a given species across sites.


[Package cxr version 1.1.1 Index]