Description Usage Arguments Functions Examples
Get the descendents of a tree level.
1 2 3 | tct_get_descendents(x, level, return_self = TRUE)
tct_is_descendent(x, level, return_self = TRUE)
|
x |
a |
level |
a level whose descendents will be returned. |
return_self |
whether to return the level in the vector of descendents. |
tct_is_descendent
: Returns a logical vector of descendent values.
1 2 3 | c("Kyle", "John", "Molly") %>%
tct_tree() %>%
tct_get_descendents("Kyle")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.