Description Usage Arguments Value Examples
View source: R/fitted_rates_matrix.R
A convenience function to extract the mortality matrix from a model fit.
1  | fitted_rates_matrix(model.fit)
 | 
model.fit | 
 A model fitted by maple_fit_model().  | 
A matrix containing the estimated mean death rates, with rows corresponding to age groups and columns to years.
1 2 3  | x <- maple_fit_model(maple_models()[[20]], deaths = maple.deaths,
                     population = maple.population, forecast.horizon = 5)
fitted_rates_matrix(x)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.