count_test: Test wether burst are lacking measurements

View source: R/count_test.R

count_testR Documentation

Test wether burst are lacking measurements

Description

The function will test the imported raw data from an e-obs acceleration tag are missing any measurments within a burst.

Usage

count_test(data = ... , burstcount = ... , time = "timestamp" , remove = FALSE)

Arguments

data

imported raw data from e-obs acceleration tag

burstcount

expected number of measurments for one burst as set previous to tag deployment

time

column name of the column that stores the timestamp. Default is "timestamp".

remove

indicating if the faulty timestamps should be removed from the data set.

Details

In some cases there are burst that miss some measurments. This function will check wether all burst have the expected amount of measurments. If can either report the faulty timestamps or automaticly remove all data from faulty timestamps.

Value

The output will be a vector with either TRUE or FALSE in every row.

Author(s)

Wanja Rast

Examples

##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (x)
{
  }

wanjarast/accelerateR documentation built on June 21, 2022, 3:29 p.m.