nlist-deprecated
From kimisc v0.4
by Kirill Müller
Smart named list
This function is a wrapper around list()
that
assigns names to unnamed arguments based on the unevaluated expression used
in the call.
Usage
nlist(...)
Arguments
- ...
List items, possibly named
Value
A named list.
References
http://stackoverflow.com/a/5043280/946850, http://tolstoy.newcastle.edu.au/R/e9/help/10/03/8392.html
See Also
Other deprecated functions: coalesce.na-deprecated
,
df_to_list-deprecated
,
hms.to.seconds-deprecated
,
kimisc-deprecated
,
list_to_df-deprecated
,
nc-deprecated
,
ofactor-deprecated
,
sample.rows-deprecated
,
seconds.to.hms-deprecated
,
thisfile-deprecated
,
tll-deprecated
,
vswitch-deprecated
Examples
# NOT RUN {
a <- 1; b <- 2; c <- 3
nlist(a, b, d=c)
nlist(mean(c(a, b, c)))
# }
Community examples
Looks like there are no examples yet.