Si.pred | R Documentation |
Predict Siler model from Siler's parameters
Si.pred(data, Sout, rm = 0)
data |
frame with age clases and frequency of occurrence (see Details). |
Sout |
A model object created with Si.mod with the 5 Siler's parameters. |
rm |
The number of age classes that want to be removed from optimization (see Details). |
The data used must be the data frame from which the Siler's patameters were estimated, whose first column is a vector of the estimated ages of the animals found dead and the second the frequency of occurrence of those ages.
In case that any age class had been removed for the estimation of the parameters that are going to be used for predicting the model, indicate it with the parameter "rm" and these age classes will be removed starting from the first age class.
Siler, W. (1979). A Competing-Risk Model for Animal Mortality. Ecology 60, 750–757.
Siler, W. (1983). Parameters of mortality in human populations with widely varying life spans. Stat. Med. 2, 373–380.
Si.mod
modSi <- Si.mod(data = cetaceans, rm = 2, par = c(0.3159462, 0.1860541, -1.2802880, 1.1733226, 0.0170314)) Si.pred(data = cetaceans, Sout = modSi, rm = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.