View source: R/categories_extraction.R
epochSeries | R Documentation |
epochSeries cycles through all sessions in an experiment. For each session extracts a series, then cuts it according to categories epochs
epochSeries(
x,
signal,
sync,
series,
diary,
category,
mergeEpochs = FALSE,
artefact.rm = TRUE,
shift_start = 0,
shift_end = 0,
target = c("epoch", "before", "after"),
summaryFUN = "median",
...
)
x |
a DyadExperiment object |
signal |
string. The name of a DyadSignal present in x |
sync |
If missing, series is searched in the signal (s1, s2, ...). If specified, series is searched within a sync object (PMBdev, CCFBest, ...). |
series |
|
diary |
|
category |
|
mergeEpochs |
|
artefact.rm |
|
shift_start |
numeric. Seconds to shift all start values (e.g. -5 shifts all epoch starts by 5 seconds before ) |
shift_end |
numeric. Seconds to shift all end values (e.g. 7.5 shifts all epoch end by 7.5 seconds later ) |
target |
one of "epoch", "before", "after". Determines whether to extract the actual epochs or only what precedes or follows it. If it's not set to "epoch", shift_start or shift_end must be specified. |
summaryFUN |
|
... |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.