Skip to contents

cleans dt of punctuation from levels and colnames specified in cvec, replacing with _ or cvec itself if no dt

Usage

bayes_punctuationclean(dt = NULL, cvec, subpat = "[[:punct:]|[:space:]]")