mapDeaths | R Documentation |
Map ICD codes to grouped minors
mapDeaths(persondf, rateobj)
persondf |
Person data.frame |
rateobj |
A rate object created from |
A data.frame for each death observed in the person file with the following variables:
id, code, rev: from the persondf
minor: the minor/outcome from the rate file that the death was mapped to
library(LTASR)
#Import example person file
person <- person_example
#Import default rate object
rateobj <- us_119ucod_19602021
#Check mapping of deaths to minors/outcomes
mapDeaths(person, rateobj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.