amofa {autoMFA}R Documentation

Adaptive Mixture of Factor Analyzers (AMoFA)

Description

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

Usage

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

Kaya H, Salah AA (2015). “Adaptive Mixtures of Factor Analyzers.” arXiv preprint arXiv:1507.02801.

Examples

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


[Package autoMFA version 1.0.0 Index]