,

Skip to contents

This function shows the proportion of the variance of the channels that each ICA component explains, as the function eeg_pvaf() of EEGLAB does: one minus the variance left in the channels after removing everything but that component, divided by the variance of the channels, where the variance of several channels is the mean of their variances.

Usage

eeg_ica_var_tbl(.data, ..., .max_sample = NULL)

Arguments

.data

An eeg_ica_lst object

...

Not in use.

.max_sample

The maximum number of samples to use for calculating the variance explained. NULL, the default, uses all of them; a number downsamples the data to about that many samples first.

Value

A table with the variance explained by each component in each recording.

Details

If the components are uncorrelated, as the ones found with fastICA in the data they were fitted to, the proportions of each recording add up to one.