getLeslie: Get Leslie Matrix from Fecundity Survival and Sex Ratio at...

View source: R/RcppExports.R

getLeslieR Documentation

Get Leslie Matrix from Fecundity Survival and Sex Ratio at Birth (SRB)

Usage

getLeslie(Surv,Fec,SRB)

Arguments

Surv

Survival rate, should be a column matrix.

Fec

Fecundity, should be a column matrix.

SRB

Sex Ratio at Birth, should be a 1x1 matrix.

Value

A Leslie matrix

Author(s)

Yunyi Shen

Examples

##---- NOT RUN ----##
Surv <- matrix(runif(6),6,1) # 6 age classes in total
Fec <- matrix(2*runif(3),3,1) # 3 female age classes
SRB <- matrix(runif(1),1,1)
getLeslie(Surv,Fec,SRB)


YunyiShen/ReDDLeslie documentation built on April 1, 2022, 6:58 a.m.