icac(x, channel, noise.sig, trial.cn = "Trial",
include = TRUE, threshold = 0.4, n.comp = length(channel),
ica.method = "R", correct = TRUE, ica.only = FALSE,
proctime = TRUE, seed = NULL, verbosity = 5, ...)
Fp1
, Fp2
, AF3
, AF4
, ...). If the noise
channels (e.g., VEOG, HEOG, ECG, ...) are present in this data frame,
they will be removed unless argument include
is set to
TRUE
. Note that there must be a column containing trial
information.des
from package eRp
, e.g., des("biosemi.32")$electrodes.TRUE
.method == "R"
then computations are done exclusively in R (default). The code allows the interested R user to see exactly what the algorithm does. If method == "C"
then C code is used to perform most of the computations, which makes the algorithm run faster. During compilation the C code is linked to an optimized BLAS library if present, otherwise stand-alone BLAS routines are compiled.TRUE
. Whether to correct the data or to simply get information pertaining to the what IC correlated with what noise signal at what trial.FALSE
. Whether to perform fastICA only without noise correction.TRUE
. Determines how much real and CPU time (in minutes) the currently running R process has already taken.NULL
, which means that set.seed
is randomly set for every run. There is the possibility, however, to pass an arbitrary seed, e.g., 0 to insure replicability between runs for instance. In this later case, if fastICA doesn't converge (e.g., it returns matrices and data frames with NAs), try setting the seed to another value (e.g., 1).0
turns this option off. Defaults to 5
. Maximum value is 6
.fastICA
.correct = TRUE
, the corrected data. Otherwise, the Pre-processed data.correct = TRUE
, the corrected estimated source matrix. Otherwise, the original (uncorrected) source matrix (which will be equal to S0).proctime = TRUE
, a data frame with processing time information.... noise signal = Temp; trial = 19; IC = 6; cor = -0.307971687318979 noise signal = Temp; trial = 19; IC = 7; cor = 0.111036533642789 noise signal = Temp; trial = 19; IC = 8; cor = -0.0226991408620133 noise signal = Temp; trial = 19; IC = 9; cor = 0.233890667361682 noise signal = Temp; trial = 19; IC = 10; cor = 0.878635491834294 noise signal = Temp; trial = 19; IC = 11; cor = 0.0891185123593569 noise signal = Temp; trial = 19; IC = 12; cor = 0.524880913590867 noise signal = Temp; trial = 19; IC = 13; cor = -0.126156352285347 noise signal = Temp; trial = 19; IC = 14; cor = -0.312246072685998 ...
If one wishes to simply know what ICs correlate at or above threshold with what
noise signal at what trial (i.e., no correction), set correct = FALSE
.
This would be done if one only wished to zero-out entire ICs without
zeroing-out anything else.
Hyvarinen, Aapo & Oja, Erkki. (1999). Independent Component Analysis: A Tutorial. Available at http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/.
fastICA
;
mwd.thrsh
;
plot_avgba
;
plot_trba
;
plot_nic
;
plot_tric
;
summary.icac
;
topo_ic
;
update.icac
.
### See vignette for examples.
Run the code above in your browser using DataLab