getLeslie | R Documentation |
getLeslie(Surv,Fec,SRB)
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. |
A Leslie matrix
Yunyi Shen
##---- 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.