character vector of percentages (e.g.
"50%") and convert it to a
numeric vector (e.g.
sanitizePercent(object, ...) # S4 method for atomic sanitizePercent(object) # S4 method for character sanitizePercent(object)
All percentage strings containing
"50%") are converted to
numeric proportions (e.g.
This function is designed primarily to sanitize data imported from Microsoft Excel.