checkPeriod: Validate Detection Period

View source: R/ODAchecks.R

checkPeriodR Documentation

Validate Detection Period

Description

Validate Detection Period

Usage

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.


matthewcarlucci/DiscoRhythm documentation built on March 24, 2022, 10:22 a.m.