Learn R Programming

spork (version 0.1.1)

as_spork.factor: Coerce Factor to Spork

Description

Coerces factor to class 'spork' by converting to character and calling as_spork.

Usage

# S3 method for factor
as_spork(x, ...)

Arguments

x

factor

...

ignored arguments

Value

spork

See Also

Other spork: as.expression.plotmath(), as_spork.character(), as_spork()

Examples

Run this code
# NOT RUN {
as_spork(as.factor('V_c./F'))
# }

Run the code above in your browser using DataLab