mapCODs {SEERaBomb}R Documentation

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.

Note

Typing mapCODs dumps the function definition and thus the mapping used.

Author(s)

Tom Radivoyevitch (radivot@ccf.org)

See Also

SEERaBomb-package, mapRegs

Examples

library(SEERaBomb)
mapCODs # shows default definitions

[Package SEERaBomb version 2019.2 Index]