Learn R Programming

SEERaBomb (version 2019.2)

mkLT: Make Life Tables

Description

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

Usage

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.

See Also

SEERaBomb-package,mkSEER

Examples

Run this code
# NOT RUN {
library(SEERaBomb)
mkLT()
load("~/data/usMort/ltb.RData")
tail(ltb$Female)
# }

Run the code above in your browser using DataLab