Description Usage Arguments Value Examples
This function is called internally by other functions. It computes the predicted median lifespan.
1 | median_lifespan(newdata, models_list)
|
newdata |
A data frame providing the covariate values for predictions |
models_list |
The list of fitted models |
The value of the median lifespan.
1 2 3 4 | d <- data.frame(Sex = "males", CaptureMethod = "CAPTIVE",
CaptureAge = 0, Age = 0:100, TimeSinceCapture = 0,
Region = "Mandaley", BirthCohort = "1960")
median_lifespan(newdata = d, models_list = Models)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.