Description Usage Arguments Value
Find the parent index of each row given a vector levels that describes the nestedness
1 | get.levels.parents(levels, is.parent.type = NULL)
|
levels |
integer vector of levels must start with lowest level and increase by 1 or decrease to an integer number |
is.parent.type |
NULL or a optional boolean vector of those rows that are of a type for which children shall be found. |
a vector of parent indices or 0 for most outer levels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.