mark_crosses | R Documentation |
Mark decision zone exit events (crosses)
mark_crosses(
gg,
cross_data,
size = 2,
color = "black",
orientation = "y",
style = "default",
shape = 16,
colors = c("#35b347", "#00abee")
)
gg |
ggplot2 object |
cross_data |
data.frame where every row captures the position of one animal at one timepoint when the animal exits the decision zone. Must contain fields t, side, region_id |
size |
Size of markers representing crosses |
color |
Color of the points, black by default |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.