buildPaths | R Documentation |
Creates a data frame showing the path (through various detection sites) to reach each detection location in a parent-child table.
buildPaths(parent_child = NULL, direction = c("u", "d"))
parent_child |
data frame with at least 'parent' and 'child' columns. Can be created with 'buildParentChild()' function. |
direction |
the direction of movement. Parent-child tables are generally built imagining parents as downstream from children. Assuming that's the case, should the paths be upstream ('u' or 'upstream'), the default, or downstream ('d' or 'downstream')? |
data frame containing a column,'end_loc', showing the possible final locations, and a column, 'path', showing all the detection locations to pass on the way to that final location.
Kevin See
buildPaths()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.