Audit sampling irregularity
Usage
audit_sampling_irregularity(
data,
time = "timestamp_ms",
unit = c("ms", "s", "us"),
by = NULL,
cv_threshold = 0.05
)
Arguments
- data
Sample data.
- time
Timestamp column.
- unit
Timestamp unit.
- by
Optional grouping columns.
- cv_threshold
Review threshold for interval coefficient of variation.
Value
An object of class "eye_sampling_irregularity_audit", stored as a named list, with components "table", "cv_threshold", "caveat". It contains sampling irregularity and associated metadata or diagnostics needed to interpret the result.