### Create a dataset
a <- data.frame(var1 = factor(1:4),
var2 = as.character(5:6),
stringsAsFactors=FALSE);
### Ignores var2
b <- ufs::massConvertToNumeric(a);
### Converts var2
c <- ufs::massConvertToNumeric(a,
ignoreCharacter = FALSE);
Run the code above in your browser using DataLab