util_as_numeric {dataquieR}R 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


[Package dataquieR version 2.1.0 Index]