,

Note that unlike plot_topo, there is no need for faceting, or adding layers.

plot_components(data, ..., .projection = "polar", .standardize = TRUE)

Arguments

data

An eeg_ica_lst

...

arguments passed to interpolate.

.projection

.Projection type for converting the 3D coordinates of the electrodes into 2d coordinates. .Projection types available: "polar" (default), "orthographic", or "stereographic"

.standardize

Whether to standardize the color scale of each topographic plot.

See also

Examples

# For demonstration only, since ICA won't converge
library(ggplot2)
# 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, ICA2) %>%
  plot_components() +
  annotate_head() +
  geom_contour() +
  annotate_electrodes(color = "black") +
  theme(legend.position = "none")
#> # ICA is being done using fast_ICA...
#> # ICA finished in 9 iterations. With a tolerance of 0.858123. (Maximum expected tolerance: 1e-06.)
#> # ICA took 0.52 secs