convertFactorToNumeric: A shortcut for the common idiom to turn factors back into the...

Description Usage Arguments Value Examples

View source: R/sharedSupport.r

Description

A shortcut for the common idiom to turn factors back into the numeric values represented in their labels (rather than the integers used to encode the factor as as.numeric would do. See ?factor.

Usage

1

Arguments

x

a factor

Value

a numeric vector

Examples

1

jasonelaw/nrsa documentation built on Nov. 8, 2019, 11:34 a.m.