make_list: Takes any number of R objects as arguments and returns a list...

View source: R/utils.R

make_listR Documentation

Takes any number of R objects as arguments and returns a list whose names are derived from the names of the R objects.

Description

Roger Peng's listlabeling challenge from http://simplystatistics.tumblr.com/post/11988685443/computing-on-the-language. Code copied from https://gist.github.com/ajdamico/1329117/0134148987859856fcecbe4446cfd37e500e4272

Usage

make_list(...)

Arguments

...

any R objects

Value

a list as described above

See Also

Other utility functions: split_along_dim()

Examples

#create three example variables for a list
x <- 1
y <- 2
z <- "hello"
#display the results
make_list( x , y , z )

zhenkewu/lotR documentation built on April 24, 2022, 2:36 a.m.