Mixture {IdMappingAnalysis} | R Documentation |
Package: IdMappingAnalysis
Class Mixture
Object
~~|
~~+--
Mixture
Directly known subclasses:
public static class Mixture
extends Object
The constructor creates a model from a single Corr object using the number of clusters defined by G determining the optimal number of clusters by default and optionally using the Fisher transform.
Mixture(corr=NULL, G=c(1:5), Fisher=FALSE, verbose=FALSE, ...)
corr |
Corr object on wich mixture modeling is performed. |
G |
number of components in mixture model. If G is a vector, the optimal number of components is determined. G is a vector (1:5) by default. |
Fisher |
if |
verbose |
|
... |
Not used. |
The resulting Mixture object encapsulates a data member '.model'
containing the results of mixture modeling represented by the list
with following components:
corr |
the correlation data |
clust |
the clustering results data structure returned by Mclust() |
sd |
standard deviation derived from clust$parameters$variance$sigmasq |
density |
the correlation density distribution |
marginalDensity |
the marginal density |
Methods:
clust | Retrieve the custering results data structure. | |
getData | Extract mixture component data from the Mixture object. | |
getStats | Get mixture component model summary info. | |
plot | Plot the results of mixture modeling. | |
primaryKey | Retrieves a primary key for a given Mixture object. | |
secondaryKey | Retrieves a secondary key for a given Mixture object. | |
Methods inherited from Object:
$, $<-, [[, [[<-, as.character, attach, attachLocally, clearCache, clearLookupCache, clone, detach, equals, extend, finalize, gc, getEnvironment, getFieldModifier, getFieldModifiers, getFields, getInstantiationTime, getStaticInstance, hasField, hashCode, ll, load, objectSize, print, registerFinalizer, save
Alex Lisovich, Roger Day
mixture<-Mixture(examples$corr,G=c(1:4),Fisher=TRUE,verbose=TRUE); class(mixture); names(mixture$.model)