Commit 2e3613af authored by Reinhold Kainhofer's avatar Reinhold Kainhofer

mortalityTable.Period: Allow NULL exposures (default)

parent e75d86ac
#' @include mortalityTable.R
NULL
setClassUnion("numericOrNULL", c("numeric", "NULL"))
#' Class mortalityTable.period - Period life tables
#'
#' A period life table, giving death probabilities for each age, up to
......@@ -19,7 +22,7 @@ mortalityTable.period = setClass(
slots = list(
ages = "numeric",
deathProbs = "numeric",
exposures = "numeric"
exposures = "numericOrNULL"
),
prototype = list(
ages = eval(0:120),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment