check_samplingrate: Determine the sampling rate present in the data

Description Usage Arguments Value Examples

View source: R/checking.R

Description

check_samplingrate determines the sampling rate in the data. This function is helpful for determining the obligatory parameter input to bin_prop. If different sampling rates were used, the function adds a sampling rate column, which can be used to subset the data for further processing.

Usage

1
check_samplingrate(data, ReturnData = FALSE)

Arguments

data

A data table object output by select_recorded_eye.

ReturnData

A logical indicating whether to return a data table containing a new column called SamplingRate

Value

A printed summary and/or a data table object

Examples

1
2
3
4
5
6
## Not run: 
library(VWPre)
# Determine the sampling rate...
check_samplingrate(dat)

## End(Not run)

VWPre documentation built on Nov. 30, 2020, 1:08 a.m.