coef.morthump: Extract the coefficients from a morthump object

Description Usage Arguments Details Value See Also Examples

View source: R/coef.morthump.r

Description

Extract the coefficients from a morthump object

Usage

1
2
## S3 method for class 'morthump'
coef(object, ...)

Arguments

object

an object of class morthump, resulting from the fit of a given mortality model

...

other arguments

Details

The nature of the coefficients depends on the type of mortality model used to fit the mortality schedule.

Value

fitted values for the mortality model defined in morthump

See Also

morthump

Examples

1
2
3
4
5
6
data("CHE2010m")

# fits the Heligman-Pollard model (parametrical)
fit <- morthump(data = CHE2010m, model = "hp")
# extract the estimates for the eight coefficients
coef(fit)

MortHump documentation built on Jan. 24, 2018, 6:02 p.m.