Learn R Programming

VWPre (version 1.2.4)

check_samplingrate: Determine the sampling rate present in the data

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

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

Run this code
# NOT RUN {
library(VWPre)
# Determine the sampling rate...
check_samplingrate(dat)
# }

Run the code above in your browser using DataLab