vrtomat: Reconstitute matrix from vital rates

Description Usage Arguments Details Value

View source: R/vrtomat.R

Description

Reconstitute matrix from vital rates

Usage

1
vrtomat(vrs)

Arguments

vrs

A vector or 1-column matrix of vital rates

Details

An object called matstruct (part of the output from extractVRs) needs to be in the global environment. This is not passed in because vitalsim does not allow for the passing of extra parameters through to the matrix construction function.

Value

A projection matrix


BruceKendall/PVA documentation built on Jan. 23, 2021, 2:56 a.m.