View source: R/graph-utilities.R
check_parents | R Documentation |
Check for paths from from to to
check_parents(parent_lookup, from, to, prev = NULL)
parent_lookup |
A list of vectors |
from |
character |
to |
character |
prev |
Should always be null when first called |
A list of paths or null if no path is found
parent_lookup <- list(M = "Am", Y = c("M", "Ay"), A = NULL, Am = "A", Ay = "A")
check_parents(parent_lookup, "A", "Y")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.