Displaying 1 result from an estimated 1 matches for "containind".
Did you mean:
containing
2001 Oct 17
0
Assignment of structures on a given environment]
...its structure
(it will be useful for me to be able to manipulate the list later).
More precisely, I want to do ,in a given environment, something
like:
l <- alist()
l$first <- alist()
l$first[ind] <- as.list(c(20,40)) # where ind is local
vector
containind the elements names
l$second <- 50
So If i do
> l
$first
$first$a
[1] 20
$first$b
[1] 40
$second
[1] 50
and
> l$first$b
[1]...