ds_options {VWPre}R Documentation

Determine downsampling options based on current sampling rate

Description

ds_options determines the possible rates to which the current sampling rate can downsampled. It then prints the options in both bin size (milliseconds) and corresponding sampling rate (Hertz).

Usage

ds_options(SamplingRate, OutputRates = "Suggested")

Arguments

SamplingRate

A positive integer indicating the sampling rate (in Hertz) used to record the gaze data, which can be determined with the function check_samplingrate.

OutputRates

A string ("Suggested" or "All") controlling if all rates are output, or if only whole rates (default) are output.

Value

A printed summary of options (bin size and rate) for downsampling.

Examples

## Not run: 
library(VWPre)
# Determine downsampling options...
ds_options(SamplingRate = 1000)

## End(Not run)

[Package VWPre version 1.2.4 Index]