elect
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.
Downloads
268
Last 30 days
15973rd
687
Last 90 days
2.9K
Last year
Trend: +19.6% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | NOTE |
| r-devel-linux-x86_64-fedora-gcc | NOTE |
| r-devel-macos-arm64 | NOTE |
| r-devel-windows-x86_64 | NOTE |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | NOTE |
| r-patched-linux-x86_64 | NOTE |
| r-release-linux-x86_64 | NOTE |
| r-release-macos-arm64 | NOTE |
| r-release-macos-x86_64 | NOTE |
| r-release-windows-x86_64 | NOTE |
Check details (16 non-OK)
CRAN incoming feasibility
Maintainer: ‘Ardo van den Hout <Ardo.vandenHout@ucl.ac.uk>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Ardo",
family = "van den Hout",
role = c("aut", "cre"),
email = "ardo.vandenhout@ucl.ac.uk"),
person(given = c("Mei", "Sum"),
family = "Chan",
role = "aut"))
as necessary.
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{state} = {state}, \code{age} = age in years on a shifted scale (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
CRAN incoming feasibility
Maintainer: ‘Ardo van den Hout <Ardo.vandenHout@ucl.ac.uk>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Ardo",
family = "van den Hout",
role = c("aut", "cre"),
email = "ardo.vandenhout@ucl.ac.uk"),
person(given = c("Mei", "Sum"),
family = "Chan",
role = "aut"))
as necessary.
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{state} = {state}, \code{age} = age in years on a shifted scale (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{state} = {state}, \code{age} = age in years on a shifted scale (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{state} = {state}, \code{age} = age in years on a shifted scale (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{state} = {state}, \code{age} = age in years on a shifted scale (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{state} = {state}, \code{age} = age in years on a shifted scale (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{state} = {state}, \code{age} = age in years on a shifted scale (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{state} = {state}, \code{age} = age in years on a shifted scale (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{state} = {state}, \code{age} = age in years on a shifted scale (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{state} = {state}, \code{age} = age in years on a shifted scale (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{state} = {state}, \code{age} = age in years on a shifted scale (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{state} = {state}, \code{age} = age in years on a shifted scale (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{state} = {state}, \code{age} = age in years on a shifted scale (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{state} = {state}, \code{age} = age in years on a shifted scale (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Check History
NOTE 0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
CRAN incoming feasibility
Maintainer: ‘Ardo van den Hout <Ardo.vandenHout@ucl.ac.uk>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Ardo",
family = "van den Hout",
role = c("aut", "cre"),
email = "ardo.vandenhout@ucl.ac.uk"),
person(given = c("Mei", "Sum"),
family = "Chan",
role = "aut"))
as necessary.
CRAN incoming feasibility
Maintainer: ‘Ardo van den Hout <Ardo.vandenHout@ucl.ac.uk>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Ardo",
family = "van den Hout",
role = c("aut", "cre"),
email = "ardo.vandenhout@ucl.ac.uk"),
person(given = c("Mei", "Sum"),
family = "Chan",
role = "aut"))
as necessary.
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{
...[truncated]...
e (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{
...[truncated]...
e (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{
...[truncated]...
e (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{
...[truncated]...
e (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{
...[truncated]...
e (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{
...[truncated]...
e (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{
...[truncated]...
e (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{
...[truncated]...
e (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{
...[truncated]...
e (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{
...[truncated]...
e (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{
...[truncated]...
e (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^
Rd files
checkRd: (-1) electData.Rd:16: Lost braces; missing escapes or markup?
16 | Variables: \code{id} = {identification number},
| ^
checkRd: (-1) electData.Rd:17: Lost braces; missing escapes or markup?
17 | \code{
...[truncated]...
e (current age minus 70),
| ^
checkRd: (-1) summary.elect.Rd:25: Lost braces; missing escapes or markup?
25 | TRUE for output on start-state totals e_{r.} (for \code{S}>0)
| ^