Perform ICA decomposition using the fastICA algorithm in fastICA::fastICA
or ica::fastica
d.ICA(x, k = 3, package = c("fastICA", "ica"), alg.type = "parallel",
maxit = 100, scale = TRUE, center = TRUE, verbose = TRUE,
trace = 0, ...)
Input data
Integer vector of length 1 or greater. Rank of decomposition
String: Which package to use for ICA. "fastICA" will use fastICA::fastICA
,
"ica" will use ica::fastica
. Default = "fastICA".
Note: only fastICA
works with k = 1
String: For package = "fastICA"
, "parallel" or "deflation". Default = "parallel"
Integer: Maximum N of iterations
Logical: If TRUE, scale input data before decomposition. Default = TRUE
Logical: If TRUE, also center input data if scale
is TRUE
.
Default = TRUE
Logical: If TRUE, print messages to screen. Default = TRUE
Additional parameters to be passed to fastICA::fastICA
or ica::icafast
rtDecom object
Project scaled variables to ICA components. Input must be n by p, where n represents number of cases, and p represents number of features. fastICA will be applied to the transpose of the n x p matrix. fastICA will fail if there are any NA values or constant features: remove them using preprocess
Other Decomposition: d.CUR
,
d.H2OAE
, d.H2OGLRM
,
d.ISOMAP
, d.KPCA
,
d.LLE
, d.MDS
,
d.NMF
, d.PCA
,
d.SPCA
, d.SVD
,
d.TSNE
, d.UMAP