utilsForExamples: The utility function(s) for examples

Description Usage Arguments Value Author(s) See Also

Description

The utility function(s) that are used in the example sections of the exported functions in this package.

Usage

1
2
3
4
5
6
7
8
partitionRep(clusterInd)
clusterPlot(clusterInd,                    
            data,                  
            main              = '',     
            sub               = '',     
            knownClusterMeans = NULL,   
            ...) 
KMeansFuncGenerator1(seed, plotIt = TRUE)

Arguments

clusterInd

vector of cluster indicators.

data

a matrix with two columns representing the two-dimensional data clustered by clusterInd.

main

the title of the plot.

sub

the sub-title of the plot.

knownClusterMeans

a matrix with two columns (for the two dimensions), the rows containing the cluster means. These are plotted when provided.

seed

the seed for random number generation.

plotIt

logical, controls the plotting of the generated data.

...

optional arguments to be passed to plot; see its documentation.

Value

partitionRep

this function returns a list with two components, namely, clusterLabels (the unique cluster identifiers) and clusters (the partitioning of the cluster identifiers), as a list.

KMeansFuncGenerator1

this function returns a list containing the objects to be used as arguments to the exported functions in the respective example sections of this package.

Author(s)

Gopi Goswami goswami@stat.harvard.edu

See Also

evolMonteCarloClustering, findMaxTemper, placeTempers


EMCC documentation built on May 29, 2017, 1:03 p.m.

Related to utilsForExamples in EMCC...