Learn R Programming

spork (version 0.3.5)

as.list.spork: Coerce Spork to List

Description

Coerces spork to list. Each element inherits class. Supports use of lapply.

Usage

# S3 method for spork
as.list(x, ...)

Value

list of spork

Arguments

x

spork

...

ignored

See Also

Other spork: [.spork(), [[.spork(), as.png.spork(), as_html.spork(), as_latex.spork(), as_plotmath.spork(), as_previews.spork(), as_spar.default(), as_spar.spork(), as_spork(), as_spork.character(), as_spork.factor(), as_spork.spork(), ggplot.spork(), greek()

Examples

Run this code
x <- as_spork(letters[1:5])
lapply(x, class)

Run the code above in your browser using DataLab