Learn R Programming

SEERaBomb (version 2019.2)

mapCODs: Map CODs to strings

Description

Maps integer cause of death (COD) codes in COD of a SEER cancer data frame to a factor CODS with recognizable levels. This is a bit slow, so it is called within mkSEER.

Usage

mapCODs(D)

Arguments

D

A data frame that includes COD as a column.

Value

The input data frame with an additional CODS column added on.

See Also

SEERaBomb-package, mapRegs

Examples

Run this code
# NOT RUN {
library(SEERaBomb)
mapCODs # shows default definitions
# }

Run the code above in your browser using DataLab