explore8list: returns the structure of a list in matrix

Description Usage Arguments Details Value Examples

View source: R/f0.rbsb1.code.r

Description

Recursively explores the branches of a list, returning them into a character matrix: a row for each branch, the columns describing some characteristics.
The columns are 'number' (the number of this component from its branch), 'numbers' (the succesions of all numbers leading to this component separated with spaces), 'name' (<NA> if does not exist), 'names' (succession of names separated with spaces), 'level' (the branch level, i.e. a numbering of the branches), 'depth' (the branch depth from the root, implicitely 0 for the root), 'class' (the classes of the component separated with spaces).

Usage

1

Arguments

lili

The list structure to be explored.

Details

rbsb.sep1 is used to join the names, as a consequence it must not be present into the names. In case an error is issued.

Value

The resulting character matrix (see the description section).

Examples

1
2
 rbsb3k("reset");
 explore8list(rbsb.lis1);

rbsb documentation built on May 2, 2019, 4:41 p.m.

Related to explore8list in rbsb...