Last data update: 2014.03.03

R: Determine downsampling options based on current sampling rate
ds_optionsR 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 = SamplingRate)

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.

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)

Results