Learn R Programming

demofit (version 0.1.4)

curveS3: Common S3 methods for mortality curves

Description

Common S3 methods for objects returned by MC():

coef(object) gives estimated parameter values.

fitted(object) gives fitted values.

predict(object,x) gives estimated mortality rate(s) for given age(s) x.

plot(object) plots data and fitted mortality curve.

deviance(object) gives weighted sum of squared residuals on \(ln(m_x)\).

residuals(object) gives residuals on \(ln(m_x)\).

Arguments