Description Usage Arguments Value Examples
This function is called internally by other functions. It predicts the mortality rate (per year) of elephants based on a covariate information provided as a data frame and based on a list of models used to compute the parameter estimates by model averaging.
1 | predict_avg(models_list, newdata)
|
models_list |
The list of fitted models |
newdata |
A data frame providing the covariate values for predictions |
A vector with the mortality prediction(s).
1 2 3 4 | d <- data.frame(Sex = "males", CaptureMethod = "STOCKAGE",
CaptureAge = 20, Age = 30, TimeSinceCapture = 10,
Region = "Kachin", BirthCohort = "2000")
predict_avg(models_list = Models, newdata = d)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.