View source: R/3_demographicFunctions.R
mxt | R Documentation |
This function returns the central mortality rate demographic function.
mxt(object, x, t)
object |
a |
x |
subject's age |
t |
period on which the rate is evaluated |
A numeric value representing the central mortality rate between age x
and x+t
.
Actuarial Mathematics (Second Edition), 1997, by Bowers, N.L., Gerber, H.U., Hickman, J.C., Jones, D.A. and Nesbitt, C.J.
#assumes SOA example life table to be load
data(soaLt)
soa08Act=with(soaLt, new("actuarialtable",interest=0.06,x=x,lx=Ix,name="SOA2008"))
#compare mx and qx
mxt(soa08Act, 60,10)
qxt(soa08Act, 60,10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.