eeg_ica_keep: Select independent components (or sources) to keep.

eeg_ica_keepR Documentation

Select independent components (or sources) to keep.

Description

This function will transform the channels according to the independent components that are kept or removed.

Usage

eeg_ica_keep(.data, ...)

Arguments

.data

An eeg_ica_lst object

...

Components to keep from the mixing matrix of the ICA transformation. See dplyr::select and tidyselect::select_helpers for details.

See Also

Other preprocessing functions: eeg_baseline(), eeg_downsample(), eeg_ica(), eeg_rereference(), eeg_segment(), filt

Other ICA functions: eeg_ica_cor_tbl(), eeg_ica_show(), eeg_ica_summary_tbl(), eeg_ica_var_tbl(), eeg_ica(), plot_components()

Examples

# For demonstration only, since ICA won't converge
# Suppressing an important warning:
suppressWarnings(data_faces_10_trials %>%
  eeg_ica(-EOGH, -EOGV, -M1, -M2, .method = fast_ICA, .config = list(maxit = 10))) %>%
  eeg_ica_keep(-ICA1)

bnicenboim/eeguana documentation built on March 16, 2024, 7:21 a.m.