makeCLT | R Documentation |
Given age-specific cohort size (n) and fecundity (m), construct a cohort life table of class ‘CLT’.
makeCLT(n, m)
## S3 method for class 'CLT'
is(x)
lxFun(x, ...)
## Default S3 method:
lxFun(n_x)
## S3 method for class 'CLT'
lxFun(x)
axFun(x, ...)
## Default S3 method:
axFun(n_vec)
## S3 method for class 'CLT'
axFun(x)
dxFun(x, ...)
## Default S3 method:
dxFun(n_vec)
## S3 method for class 'CLT'
dxFun(x)
qxFun(x, ...)
## Default S3 method:
qxFun(a_vec)
## S3 method for class 'CLT'
qxFun(x)
n |
A vector of cohort-specific sizes/number of individuals. Should include a last cohort with n=0, else the function adds this. |
m |
A vector of cohort-specific fecundities. Should be of length
|
x |
An object of class ‘CLT’. |
n_x |
A vector containing the number of individuals in each cohort |
a_x |
A vector containing Annual survival for each cohort |
A vector
or data.frame
of class ‘CLT’ containing
one or all of names
:
Cohort ages/classes
Number of individuals in each cohort
Survivorship
Annual survival
Number of individuals that die
Annual mortality
Fecundity
makeCLT(n = c(10, 5, 3, 2, 0), m = c(0, 1, 3, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.