checkPeriod {DiscoRhythm} | R Documentation |
Validate Detection Period
checkPeriod(time, period, min_n_values = 3)
time |
numeric vector of sample collection times. |
period |
hypothesized period. |
min_n_values |
numeric value specifying minimal number of unique "time MODULO period" values. |
logical indicating whether the period is suitable for testing given the sampling times of the dataset.