View source: R/fill_transition_matrix.R
fill_transition_matrix | R Documentation |
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.
fill_transition_matrix(focal.sp, site, param, env = NULL, current.densities)
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 |
3x3 transition matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.