Learn R Programming

elect (version 1.2)

Estimation of Life Expectancies Using Multi-State Models

Description

Functions to compute state-specific and marginal life expectancies. The computation is based on a fitted continuous-time multi-state model that includes an absorbing death state; see Van den Hout (2017, ISBN:9781466568402). The fitted multi-state model model should be estimated using the 'msm' package using age as the time-scale.

Copy Link

Version

Install

install.packages('elect')

Monthly Downloads

247

Version

1.2

License

GPL-2

Maintainer

Ardo den Hout

Last Published

April 3rd, 2019

Functions in elect (1.2)

plot.elect

Plotting of life expectancies
check.RestrAndConst

Checking the definition of RestrAndConst in elect
elect

State-specific and marginal life expectancies
electData

Three-state data for exploring elect
explore

Data statistics for an age-dependent model
plusmin

Computation of a function of life expectancies
summary.elect

Summarises the estimation of the life expectancies
hazards

Age-dependent hazards based on a 'msm' model