mpm_split: Convert matrix population model into U, F and C matrices

View source: R/mpm_split.R

mpm_splitR Documentation

Convert matrix population model into U, F and C matrices

Description

Splits a matrix population model into three constituent matrices, U (growth and survival processes), F (sexual reproduction) and C (clonal reproduction). Warning! The functionality is very basic: it assumes that sexual reproduction is located in the top row of the matrix, and that everything else is growth or survival (i.e. the U matrix). Clonality is assumed to be non-existent.

Usage

mpm_split(matA)

Arguments

matA

A matrix population model (i.e., a square projection matrix).

Value

A list of three matrices: matU,matF and matC. matC will always contain only zeros.

Author(s)

Owen R. Jones <jones@biology.sdu.dk>

See Also

Other transformation: is_leslie_matrix(), leslie_collapse(), mpm_collapse(), mpm_rearrange(), mpm_standardize(), name_stages(), repro_stages(), standard_stages()

Examples

matA <- rbind(
  c(0.1, 0, 5.3, 4.2),
  c(0.5, 0.2, 0.1, 0),
  c(0, 0.3, 0.3, 0.1),
  c(0, 0, 0.5, 0.6)
)

mpm_split(matA)


Rage documentation built on Sept. 30, 2023, 1:06 a.m.