fac2num: Factor values to numeric.

Description Usage Arguments Value Examples

View source: R/fac2num.R

Description

Function to transform a factor to approximately its original numeric value.

Usage

1

Arguments

x

factor value(s).

Value

The numeric value of the factor.

Examples

1
2
f <- factor(sample(runif(5), 20, replace = TRUE))
fac2num(f)

ERottler/alptempr documentation built on May 7, 2021, 1:12 a.m.