Highlight activity observations beyond a threshold
Source:R/geom_threshold_band.R
geom_threshold_band.RdAdds translucent vertical bands for timestamped observations above or below a threshold. It intentionally does not merge observations into bouts; use an explicit interval table with geom_episode() when episode definitions matter.
Usage
geom_threshold_band(
data,
value,
threshold,
direction = c("above", "below"),
time = "time",
...
)