View source: R/trim_trailing_whitespace.R
trim_trailing_whitespace | R Documentation |
Some of the ICD-9 codes only contain 3 characters (i.e., they do not contain subcodes) but have a space at the end. This function just takes the record column and strips out the trailing space.
trim_trailing_whitespace(icd9_record)
icd9_record |
One of the record columns from an ICD-9 dataframe |
vector
trim_trailing_whitespace(c("400 ", "402", "4032"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.