mean_life-LifeTable-method: mean_life

Description Usage Arguments Examples

Description

The expected time lived of an object of class LifeTable in the object argument. Expected time lived only includes times between x_ + m_ and t_.

Usage

1
2
3
## S4 method for signature 'LifeTable'
mean_life(object, x_ = object@x[1], t_ = NULL,
  m_ = 0)

Arguments

object

object of class LifeTable

x_

x_

t_

t_

m_

m_

Examples

1
2
3
mean_life(LifeTable(), x_ = 2, t_ = 3, m_ = 0)
mean_life(LifeTable(), x_ = 2, t_ = 3, m_ = 1)
mean_life(LifeTable(), x_ = 2.5, t_ = 3, m_ = 1)

merlinoa/diehard3000 documentation built on May 22, 2019, 6:52 p.m.