Description Usage Arguments Details Value Examples
View source: R/f0.rbsb1.code.r
Returns components from a list structure as a one level list. The
list lili
must have been explored with explore8list
and
the branch(es) to return are indicated through their line numbers
(tata
) in the table it generates.
1 | get8listcomp(lili, tata)
|
lili |
The list structure components of which have to be extracted. |
tata |
The lines of the table provided by |
Names of the produced list are the stacked names of the initial list
lili
.
The resulting list with as many component as indicated rows.
1 2 3 4 5 6 7 8 9 10 11 | rbsb3k("reset");
uu <- list(A=1:3,
B=matrix(letters[1:20], nrow=5, dimnames=list(1:5, c("on", "tw", "th", "fo"))),
C=list(a=1:3, b=letters, c=list(final=array(1:8, c(2, 2, 2)))));
vv <- explore8list(uu);
get8listcomp(uu, vv[7, ])[[1]];
uu <- list(1:3,
matrix(letters[1:20], nrow=5, dimnames=list(1:5, c("on", "tw", "th", "fo"))),
list(a=1:3, b=letters, c=list(final=array(1:8, c(2, 2, 2)))));
vv <- explore8list(uu);
get8listcomp(uu, vv[7, ])[[1]];
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.