Learn R Programming

pmclust (version 0.1-2)

.1.set.global: Set Global Variables According to X.spmd

Description

This function will set several sets of variables globally according to the X.spmd.

Usage

set.global(K = 2, PARAM = NULL,
      method = c("em", "aecm", "apecm1", "apecm2", "kmeans"),
      RndEM.iter = 10)

Arguments

K
an original set of parameters generated by set.global.
PARAM
an original set of parameters generated by set.global.
method
an original set of parameters generated by set.global.
RndEM.iter
number of RndEM iterations.

Value

  • A new set of PARAM will be returned and several global variables will be set according to the data X.spmd.

    Use readme to see all global variables set by this function.

Details

WARNING: a global variable named X.spmd should be set before calling this function where X.spmd is a matrix containing data with dimension N.spmd * p. i.e. N.spmd observations and p variables.

References

High Performance Statistical Computing Website: http://thirteen-01.stat.iastate.edu/snoweye/hpsc/

See Also

em.step.spmd, aecm.step.spmd, apecm1.step.spmd, apecm2.step.spmd.

Examples

Run this code
# Examples can be found in the help pages of em.step.spmd(),
# aecm.step.spmd(), apecm1.step.spmd(), and apecm2.step.spmd().

Run the code above in your browser using DataLab