Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
R - Mortality Tables
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
10
Issues
10
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
R
R - Mortality Tables
Commits
c884df9d
Commit
c884df9d
authored
May 19, 2018
by
Reinhold Kainhofer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add mortalityTable.NA to indicate an empty table
parent
9e52dd51
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
0 deletions
+20
-0
NAMESPACE
NAMESPACE
+1
-0
R/mortalityTable.period.R
R/mortalityTable.period.R
+5
-0
man/mortalityTable.NA.Rd
man/mortalityTable.NA.Rd
+14
-0
No files found.
NAMESPACE
View file @
c884df9d
...
...
@@ -18,6 +18,7 @@ export(makeQxDataFrame)
export(mortalityComparisonTable)
export(mortalityTable)
export(mortalityTable.MakehamGompertz)
export(mortalityTable.NA)
export(mortalityTable.Weibull)
export(mortalityTable.ageShift)
export(mortalityTable.deMoivre)
...
...
R/mortalityTable.period.R
View file @
c884df9d
...
...
@@ -92,3 +92,8 @@ mortalityTable.onceAndFuture = function(transitionAge, name = "Deterministic mor
)
}
#' Empty mortality table indicating NA
#'
#' @export
mortalityTable.NA
=
mortalityTable.period
(
name
=
NA_character_
,
ages
=
NA_integer_
,
deathProbs
=
NA_real_
)
man/mortalityTable.NA.Rd
0 → 100644
View file @
c884df9d
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mortalityTable.period.R
\docType{data}
\name{mortalityTable.NA}
\alias{mortalityTable.NA}
\title{Empty mortality table indicating NA}
\format{An object of class \code{mortalityTable.period} of length 1.}
\usage{
mortalityTable.NA
}
\description{
Empty mortality table indicating NA
}
\keyword{datasets}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment