fill_transition_matrix: Fill a transition matrix

View source: R/fill_transition_matrix.R

fill_transition_matrixR Documentation

Fill a transition matrix

Description

Calculates the elements of a site-specific transition matrix for a given sp. Note that here, and through all functions, we fix three life stages. Also note that 'param' and 'env' must match, as for the 'vital_rate' function.

Usage

fill_transition_matrix(focal.sp, site, param, env = NULL, current.densities)

Arguments

focal.sp

integer, species

site

integer, site

param

param structure (see 'build_param' function)

env

optional numeric, environmental forcing for a given timestep

current.densities

list of length sp, each element is a matrix site*stages

Value

3x3 transition matrix


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