Description Usage Arguments Value
Find the parent index of each row given a vector levels that describes the nestedness
1 2 |
levels |
integer vector of levels must start with lowest level and increase by 1 or decrease to an integer number |
types |
character vector of types |
parent.types |
the parent.types that shall be characterized |
a matrix of parent type indices with length(levels) rows and length(parent.types) columns. If there is no parent type, we enter a 0.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.