powered by
Convert data to numeric, and for the ID column convert with fixed levels.
mi_to_numer( data, levels = c("*", 0:9, letters, LETTERS, "_", ".", "-", " ", "/", "\\", ":") )
A numeric data frame with numerical or factor type columns.
A tibble with n position column(pos1,pos2,...) and class column.
Characters accommodated in IDs.
data(mi_data_procID) mi_to_numer(mi_data_procID)
Run the code above in your browser using DataLab