$electrodes
: Get or set electrode names
$times
: Get or set time points
$timeRange
: Get time range if time points are defined
$data
: Get or set data matrix
[
: Subset an Epoch object using matrix indexing syntax
nrow
, ncol
, colnames
, rownames
, names
: Getting the data properties,
similar to base R functions.
truncateTime
: Truncating time range
# S4 method for Epoch
$(x, name)# S4 method for Epoch
$(x, name) <- value
# S4 method for Epoch
[(x, i, j)
# S4 method for Epoch
nrow(x)
# S4 method for Epoch
ncol(x)
# S4 method for Epoch
colnames(x)
# S4 method for Epoch
colnames(x) <- value
# S4 method for Epoch
rownames(x)
# S4 method for Epoch
rownames(x) <- value
# S4 method for Epoch
names(x)
# S4 method for Epoch
names(x) <- value
# S4 method for Epoch
as.matrix(x)
# S4 method for Epoch
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
truncateTime(x, from, to)
# S4 method for Epoch
truncateTime(x, from, to)
# S4 method for Epoch
show(object)
nrow: Number of rows in the data
ncol: Number of columns in the data
colnames: electrode names of the data
rownames: time points of the data
names: Return all available properties for an Epoch object
truncateTime: Truncated object
Epoch object
a value name, must be one of 'electrodes', 'times', 'timeRange', 'data'
Value to set
Row (electrode) indices
Column (time) indices
NULL
or a character vector giving the row names for the data frame. Missing values are not allowed. See base::data.frame
for more details.
Logical. If TRUE
, setting row names is optional. See base::data.frame
for more details.
additional arguments
Numeric value specifying start of new time range
Numeric value specifying end of new time range
Epoch object