checkPeriod: Validate Detection Period

Description Usage Arguments Value

View source: R/ODAchecks.R

Description

Validate Detection Period

Usage

1
checkPeriod(time, period, min_n_values = 3)

Arguments

time

numeric vector of sample collection times.

period

hypothesized period.

min_n_values

numeric value specifying minimal number of unique "time MODULO period" values.

Value

logical indicating whether the period is suitable for testing given the sampling times of the dataset.


DiscoRhythm documentation built on Nov. 8, 2020, 7:32 p.m.