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 one model.
1 | predict(model, newdata)
|
model |
A fitted model |
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(model = Models[[1]], newdata = d)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.