,
R/ica.R
eeg_ica_show.Rd
Add independent components (or sources) to the signal table for visualization.
eeg_ica_show(.data, ...)
An eeg_ica_lst object
Components to extract from the mixing matrix of the ICA transformation.
Other ICA functions:
eeg_ica_cor_tbl()
,
eeg_ica_keep()
,
eeg_ica_summary_tbl()
,
eeg_ica_var_tbl()
,
eeg_ica()
,
plot_components()
# For demonstration only, since ICA won't converge
library(ggplot2)
library(dplyr)
# Suppressing an important warning:
suppressWarnings(data_faces_10_trials %>%
eeg_ica(-EOGH, -EOGV, -M1, -M2, .method = fast_ICA, .config = list(maxit = 10))) %>%
eeg_ica_show(ICA1) %>%
plot()
#> # ICA is being done using fast_ICA...
#> # ICA finished in 9 iterations. With a tolerance of 0.973844. (Maximum expected tolerance: 1e-06.)
#> # ICA took 0.69 secs
#> # Downsampling from 500Hz to 250Hz.
#> # Object size in memory 6.1 Mb