| mapDeaths {LTASR} | R Documentation | 
Map ICD codes to grouped minors
Description
Map ICD codes to grouped minors
Usage
mapDeaths(persondf, rateobj)
Arguments
persondf | 
 Person data.frame  | 
rateobj | 
 A rate object created from   | 
Value
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
Examples
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)
[Package LTASR version 0.1.3 Index]