util_as_numeric: Convert factors to label-corresponding numeric values

View source: R/util_as_numeric.R

util_as_numericR Documentation

Convert factors to label-corresponding numeric values

Description

Converts a vector factor aware of numeric values not being scrambled.

Usage

util_as_numeric(v, warn)

Arguments

v

the vector

warn

if not missing: character with error message stating conversion error

Value

the converted vector


dataquieR documentation built on May 29, 2024, 7:18 a.m.