edf.trialcount: Determine trial number from an EDF file

View source: R/utilities.R View source: R/utilities.R

edf.trialcountR Documentation

Determine trial number from an EDF file

Description

edf.trialcount simply returns the number of trials in a given EDF file.

edf.trialcount simply returns the number of trials in a given EDF file.

Usage

edf.trialcount(EDFfile)

edf.trialcount(EDFfile)

Arguments

EDFfile

path to an EDF file

EDFfile

path to an EDF file

Details

edf.trialcount may be useful if one wants to quickly get the number of trials from an EDF with little overhead. Trials are defined by the starting and stopping of recording from the eyetracker. To obtain trial-by-trial data from the EDF, use edf.trials.

edf.trialcount may be useful if one wants to quickly get the number of trials from an EDF with little overhead. Trials are defined by the starting and stopping of recording from the eyetracker. To obtain trial-by-trial data from the EDF, use edf.trials.

Value

The number of trials in the EDF

The number of trials in the EDF

Author(s)

Jason Hubbard, hubbard3@uoregon.edu

Jason Hubbard, hubbard3@uoregon.edu

Examples

## Not run: 
output <- edf.trialcount('/path/to/file.edf')
output
500

## End(Not run)
## Not run: 
output <- edf.trialcount('/path/to/file.edf')
output
500

## End(Not run)

jashubbard/edfR documentation built on Aug. 4, 2022, 5:18 p.m.