Learn R Programming

parameters (version 0.5.0)

ICA: Independent Component Analysis (ICA)

Description

Performs an Independent Component Analysis using the FastICA algorithm. Contrary to PCA, that attempts to find uncorrelated sources (through least squares minimization), ICA attempts to find independent sources, i.e., the source space that maximizes the "non-gaussianity" of all sources. Contrary to PCA, ICA does not rank each source, which makes it a poor tool for dimensionality reduction. Requires the fastICA package to be installed.

Usage

ICA(x, n = "all", ...)

Arguments

x

A dataframe or a statistical model.

n

Number of components to extract. If n="all", then n is set as the number of variables minus 1 (ncol(x)-1). If n="auto" (default) or n=NULL, the number of components is selected through n_factors. In reduce_parameters, can also be "max", in which case it will select all the components that are maximally pseudo-loaded (i.e., correlated) by at least one variable.

...

Arguments passed to or from other methods.

Examples

Run this code
# NOT RUN {
ICA(iris[, 1:4])
# }

Run the code above in your browser using DataLab