util_as_numeric: Convert factors to label-corresponding numeric values

Description Usage Arguments Value

View source: R/util_as_numeric.R

Description

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

Usage

1
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 Feb. 26, 2021, 5:08 p.m.