Displaying 1 result from an estimated 1 matches for "clipnam".
Did you mean:
clipname
2008 Mar 27
1
Dynamic string as element name in a list
Dear all,
I have a piece of code along the lines of
f <- function(x) {
clipname <- "LK" # but is in real determined based on info in data.frame x
# other manipulations
return( list(clipname=list(....)))
}
My intention is to do
out <- f(dat)
and then (in this example) having/getting
out$LK
which is a list in itself.
Of course, it doesn't work like...