Description Usage Arguments Value See Also Examples
View source: R/residualsfitStMoMo.R
Compute deviance residuals of a fitted Stochastic Mortality Model. 
These residuals can be plotted using plot.resStMoMo.
1 2  | 
object | 
 an object of class   | 
scale | 
 logical indicating whether the residuals should be scaled 
or not by dividing the deviance by the  overdispersion of the model.  
Default is   | 
... | 
 other arguments.  | 
An object of class "resStMoMo" with the residuals. This 
object has components:
residuals | 
 a matrix with the residuals.  | 
ages | 
  ages corresponding to the rows in   | 
years | 
  years corresponding to the columns in   | 
1 2 3  | CBDfit <- fit(cbd(), data = central2initial(EWMaleData), ages.fit = 55:89)
CBDres <- residuals(CBDfit)
plot(CBDres)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.