Draws the chi-square periodogram from chi.sq.periodogram: the
\(Q_P\) statistic against trial period, with the per-period chi-square
significance threshold overlaid as a dashed line. The estimated period (the
\(Q_P\) peak) is marked and a 24-hour reference line drawn. Unlike the
Lomb-Scargle plot, the explicit threshold shows directly whether a rhythm is
significant at a given period.
Arguments
- counts
Numeric vector of activity counts on a regular epoch grid.
- timestamps
A
POSIXctvector the same length ascounts.- from, to
Period search window in hours (default 18 to 30).
- alpha
Significance level for the chi-square threshold (default 0.05).
- epoch_length
Epoch length in seconds; inferred from
timestampswhenNULL.
See also
plot_periodogram for the Lomb-Scargle spectrum.
