Description Usage Arguments Value Methods (by class) See Also
View source: R/print_summary.R
extract
is a generic function for extracting slots from
arrayTtest
, arrayAnova
, or tanova
objects, each produced by the corresponding function.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | extract(...)
## S3 method for class 'arrayTtest'
extract(
object,
what = c("all", "stat", "p", "es", "stat_corr", "p_corr", "means", "df"),
time_window = NULL,
term = NULL,
chan = NULL,
drop = FALSE,
...
)
## S3 method for class 'arrayAnova'
extract(
object,
what = c("all", "stat", "p", "es", "stat_corr", "p_corr", "means", "df"),
time_window = NULL,
term = NULL,
chan = NULL,
drop = FALSE,
...
)
## S3 method for class 'tanova'
extract(
object,
what = c("all", "stat", "p", "stat_corr", "p_corr", "means"),
time_window = NULL,
term = NULL,
drop = FALSE,
...
)
|
... |
not used yet |
object |
an object of class |
what |
a character vector indicating which slot(s) to extract. If 'what' is 'all' (default), all relevant slots is extracted (see the Usage section for the relevant slot names in each particular method). Otherwise, the slots to extract are found by partial matching to the following choices:
|
time_window |
numeric vector of length two indicating the time window which should be extracted. If NULL (default), all time points are returned. |
term |
character vector indicating the name of the model terms which should be extracted. If NULL (default), all model terms are returned. |
chan |
character or integer indices of channels to extract. If NULL (default), all channels are returned. |
drop |
logical value; if TRUE, singleton dimensions are dropped from the arrays after subsetting on time, term, and/or chan (default: FALSE) |
The function returns an array of the requested component or a named list of arrays if multiple components were requested.
arrayTtest
: Method for arrayTtest
objects
arrayAnova
: Method for arrayAnova
objects
tanova
: Method for tanova
objects
See the examples of arrayAnova
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.