Some analyses may require evenly sampled data without missing values. has_missing_samples checks that the dataset is equitimed, and then for missing values within abundance (and optionally, covariates)

is_full_sampled() does the same check, but returns TRUE if there are NO missing samples.

has_missing_samples(data, period = NULL, tol = 1e-06, check_covariates = FALSE)

Arguments

data

dataset to check

period

period to check the times against (if NULL, first check to see if there is a known period set in the metadata, otherwise assumes 1)

tol

tolerance for the period

check_covariates

TRUE or FALSE (whether to check covariates, too)

Value

TRUE or FALSE