cross_detector | R Documentation |
Report timepoints when the animal crossed on either direction
(in/out) the decision zone on the passed side
.
The decision zone is border
pixels far from the center
cross_detector(tracker_data, border, side = c(-1, 1))
tracker_data |
IDOC tracker dataset where every row captures the position of one animal at one timepoint |
border |
Number of pixels from center to decision zone edge |
side |
Either LEFT (-1) or RIGHT (1) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.