R/classify.R
classify_morp.Rd
Classify ICD-O-3 morphology codes into categories
classify_morp(x)
Character vector of ICD-O-3 morphology codes. Values not present in the internal dictionary will be returned as NA.
NA
Character vector of categories corresponding to x.
x
morps <- c("8140","8070","8050","8051","9900","9800","9993") classify_morp(morps) #> [1] "3" "1" "5" "1" NA "14" NA