fac_as_is: Factors as is

Description Usage Arguments Value Examples

Description

Wrapped around factor, factor as is assignes the levels of the factor in the order in which they appear in the data.

Usage

1

Arguments

x

a vector of data

...

Name-value pairs of summary functions like factor()

Value

factor

Examples

1
2
3
a <- c('sam', 'harry', 'andy')
fac_as_is(a)
factor(a)

lmguzman/MelissaFactors documentation built on May 21, 2019, 7:35 a.m.