mkLT: Make Life Tables

Description Usage Arguments Value Author(s) See Also Examples

View source: R/mkLT.R

Description

Makes life tables from mortality data binaries produced by mkMrt() and places the files in the same folder.

Usage

1
 mkLT(mrtHome="~/data/usMort",input="mrt.RData",output="ltb.RData")

Arguments

mrtHome

Directory that contains the mortality data binary.

input

File that contains the mortality data binary.

output

File that will contain the life tables.

Value

None. This function is called for its side-effect of producing male and female life tables in files.

Author(s)

Tom Radivoyevitch (radivot@ccf.org)

See Also

SEERaBomb-package,mkSEER

Examples

1
2
3
4
5
6
7
## Not run: 
library(SEERaBomb)
mkLT()
load("~/data/usMort/ltb.RData")
tail(ltb$Female)

## End(Not run)

SEERaBomb documentation built on Dec. 16, 2019, 1:21 a.m.