addDirection | R Documentation |
Based on the compressed PIT tag observations, and a parent-child table, determines the direction of movement leading to each detection.
addDirection(compress_obs = NULL, parent_child = NULL, direction = "u")
compress_obs |
The result of 'compress()'. |
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')? |
a tibble
Kevin See
addDirection()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.