makefacnum: Converts factor vectors to numeric vectors

Description Usage Arguments Value Author(s) Examples

View source: R/makefacnum.r

Description

Converts factor vectors to numeric vectors.

Usage

1

Arguments

x

A vector.

Value

A numeric vector.

Author(s)

Charles Crabtree [email protected]

Examples

1
2
3
4
5
6
x <- c("1", "2", "3")
x <- as.factor(x)
x
x <- makefacnum(x)
x
is.numeric(x)

plotrr documentation built on Dec. 5, 2017, 1:05 a.m.