reportTrials | R Documentation |
Extract a trial report from an ELascii object
reportTrials(dat)
dat |
An object of class "ELascii", as created by readELascii(). |
trial reports contain summary data from each trial, as well as subject ID, trial number.
Which specific trial variables are available will vary, depending on the idiosyncratic characteristics of the protocol. Regardless, the returned data.frame will contain a report with the following columns, together with any trial variables found in the dataset:
subject: factor for subject ID, taken from the name of the source EDF file.
trialn: factor for trial ID.
time0: integer indicating timestamp (ms) of first sample in recording block.
Returned data.frame will also include trial_vars from edf file if requested (TRUE by default).
Dave Braze davebraze@gmail.com
fname <- system.file("/extdata/1950006-RAN.asc.gz", package="FDBeye") e <- readELascii(fname) efix <- reportTrials(e)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.