Computes per-trial or global circular statistics (mean direction, resultant length, concentration) from the step-angle column of a `TrajSet`.
Value
data.frame(id, n, t_start, t_end, mean_dir, resultant_R, kappa)
A `data.frame` with columns `id`, `n`, `t_start`, `t_end`, `mean_dir` (radians, unit-circle convention, 0 to 2pi), `resultant_R` (0–1), and `kappa` (von Mises concentration; `NA` when estimation fails).
Examples
if (FALSE) { # \dontrun{
data(cpunctatus)
circ_summary(cpunctatus, by = "id")
circ_summary(cpunctatus, by = "global")
} # }