Learn R Programming

EZFragility (version 1.0.3)

Epoch: Constructor for Epoch class

Description

Constructor for Epoch class

Usage

Epoch(data, electrodes = NULL, timeRanges = NULL, times = NULL)

Value

An Epoch object

Arguments

data

Matrix containing epoch data (rows=electrodes, columns=time points)

electrodes

Optional character vector for electrode names, if not provided, column names of data are used. If both are NULL, electrodes are named E1, E2, ...

timeRanges

Optional numeric vector of 2 containing start and end time points. Only one of times or timeRanges can be non-null

times

Optional numeric vector of time points. Only one of times or timeRanges can be non-null