clean_age: Clean patient ages

Description Usage Arguments Value

View source: R/data-item-cleaning.R

Description

Clean patient ages

Usage

1

Arguments

age

Age_at_Diagnosis values.

keep_unknown

Replace values for "unknown" with NA?

Value

An integer vector of ages. If keep_unknown is FALSE, values representing unknown ages are replaced with NA.


naaccr documentation built on Jan. 11, 2020, 9:17 a.m.