Home › Practice › SAS vs R for Clinical Programming — 26-Day Series

Day 9: Character Functions — SAS vs R

Clean, search, join and split clinical text in SAS and R

Practice SAS character functions (UPCASE, STRIP, COMPBL, COMPRESS, TRANWRD, FIND, CATX, SCAN, SUBSTR, PUT, INPUT) against their R and stringr equivalents, with the trailing-blank, regex and blank-vs-NA traps on ABC-101 data.