EMFASTICAALG(DataMatrix, numCluster, h = 0, maxiter = 300,
icaiter = 150, tol = 1e-06, verb = TRUE, combine = TRUE,
seednum = 82196, ...)
n
by r
.
m
.
h
is set equal zero (default), iterative bandwidth selection will be used.
300
.
150
.
1
e
-6
.
TRUE
(default) or FALSE
indicating whether to print out info at each iteration.
TRUE
(default) or FALSE
indicating whether to implement the ICA step.
82196
) used in kmeans before 1st iteration.
EMFASTICAALG
object which consists of a list of items:
r
by n
.r
by r
unmixing matrices for each of the m clusters.m
clusters.m
by n
matrix where each row stores the estimated density value of the observed data points for each of the m clusters.n
by m
matrix where each row stores the component membership probabilities of the corresponding data point.## An Example that runs the NSMM-ICA algorithm on Cohen's tone data
data(tonedata, package="mixtools")
b <- EMFASTICAALG(tonedata, 2, h=0, tol=1e-8)
Run the code above in your browser using DataLab