fill_demography_matrix: Fill the vec-permutation demography matrix

View source: R/fill_demography_matrix.R

fill_demography_matrixR 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.


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