vital_rate | R Documentation |
Calculates vital rates from their effect sizes and terms. This is equivalent to predicting from a binomial glm with given coefficients. In this version, the user needs to ensure that 'param' and 'env' match, i.e. that if the 'param' list is defined with environmental forcing, it is passed here, and viceversa. In future versions I may implement checks for that here, but for now, be aware that it will fail.
vital_rate(vr, sp, site, param, env = NULL, densities)
vr |
integer or char, vital rate to obtain, from the ones defined in 'param'. So far, valid names are "Sj","Sn","Sr","Rn","Rr","D","Ds,"O". |
sp |
integer or char, species |
site |
intger or char, site |
param |
param nested list (see 'build_param') |
env |
optional numeric, environmental forcing |
densities |
densities of all sp in the site, including individuals from all three life stages |
numeric value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.