has_missing_samples: Check for missing samples

Description Usage Arguments Value

View source: R/utils-data-processing.R

Description

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.

Usage

1
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


weecology/MATSS documentation built on May 15, 2020, 7:03 p.m.