Skip to content
Snippets Groups Projects
Commit a0edf0e6 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Allow one table or a list of tables to be passed as the table argument to...

Allow one table or a list of tables to be passed as the table argument to mortalityTable.jointLives. This allows different insured to have different life tables (e.g. male + female)
parent b42e10fe
No related branches found
No related tags found
No related merge requests found
#' @include mortalityTable.R periodDeathProbabilities.R
NULL
setClassUnion("mortalityTable(s)", c("mortalityTable", "list"))
#' Class mortalityTable.jointLives - Life table for multiple joint lives
#'
#' A cohort life table obtained by calculating joint death probabilities for
......@@ -13,7 +14,7 @@ NULL
mortalityTable.jointLives = setClass(
"mortalityTable.jointLives",
slots = list(
table = "mortalityTable"
table = "mortalityTable(s)"
),
contains = "mortalityTable"
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment