Learn R Programming

lifecontingencies (version 1.1.10)

mdt-class: Class "mdt"

Description

A class to store multiple decrement tables

Arguments

Objects from the Class

Objects can be created by calls of the form new("mdt", name, table, ...). They store absolute decrements

References

Marcel Finan A Reading of the Theory of Life Contingency Models: A Preparation for Exam MLC/3L

See Also

lifetable

Examples

Run this code
#shows the class definition
showClass("mdt")
#create a new table
tableDecr=data.frame(d1=c(150,160,160),d2=c(50,75,85))
newMdt<-new("mdt",name="testMDT",table=tableDecr)

Run the code above in your browser using DataLab