amofa: Adaptive Mixture of Factor Analyzers (AMoFA)

Description Usage Arguments Value References Examples

View source: R/amofa.R

Description

An implementation of the Adaptive Mixture of Factor Analyzers (AMoFA) algorithm from \insertCitekaya2015adaptiveautoMFA. This code is a R port of the MATLAB code which was included with that paper.

Usage

1
amofa(data, itmax = 100, verbose = FALSE, varimax = FALSE)

Arguments

data

An n by p data matrix, where n is the number of observations and p is the number of dimensions of the data.

itmax

The maximum number of EM iterations allowed for the estimation of each MFA model.

verbose

Boolean indicating whether or not to print more verbose output, including the number of EM-iterations used and the total running time. Default is FALSE.

varimax

Boolean indicating whether the output factor loading matrices should be constrained using varimax rotation or not.

Value

A list containing the following elements:

References

\insertRef

kaya2015adaptiveautoMFA

Examples

1
2
RNGversion('4.0.3'); set.seed(3)
MFA.fit <- amofa(autoMFA::MFA_testdata)

autoMFA documentation built on Aug. 10, 2021, 5:07 p.m.