mi_to_numer: Convert data to numeric, and for the ID column convert with...

View source: R/mi_to_numer.R

mi_to_numerR Documentation

Convert data to numeric, and for the ID column convert with fixed levels.

Description

Convert data to numeric, and for the ID column convert with fixed levels.

Usage

mi_to_numer(
  data,
  levels = c("*", 0:9, letters, LETTERS, "_", ".", "-", " ", "/", "\\", ":")
)

Arguments

data

A tibble with n position column(pos1,pos2,...) and class column.

levels

Characters accommodated in IDs.

Value

A numeric data frame with numerical or factor type columns.

Examples

data(mi_data_procID)
mi_to_numer(mi_data_procID)

MantaID documentation built on Sept. 11, 2024, 6 p.m.

Related to mi_to_numer in MantaID...