tonum: Turn character or factor to numeric

View source: R/funs.R

tonumR Documentation

Turn character or factor to numeric

Description

Turn character or factor to numeric

Character to factor

Character to factor

Usage

tonum(x)

c2f(x, ...)

f2c(x)

Arguments

x

object to be turned into a character if 'is.factor' is true

...

arguments to factor

Value

a numeric value represented by 'x', or NA

factor(x)

factor(x)


gmonette/gnew documentation built on July 9, 2022, 12:57 p.m.