update_assignment: Update cluster assignment.

Description Usage Arguments Details Value

View source: R/sscs.R

Description

Updates cluster assignment for variable istar, where istar is one of the (possibly multi-variate) variables being clustered. Generally it is easiest to use the run(sscs, ...) interface for generating clusters, but this method can be used for more granular control over the iterative updating of the cluster solution.

Usage

1
  update_assignment(sscs, istar, tolerance=0)

Arguments

sscs

Object of class 'sscs' created by new_sscs(...).

istar

Integer index of variable to update (must be <= sscs$nj).

tolerance

0, 1, or 2 corresponding to high, medium, and low precision estimates of cluster redundancy.

Details

Low precision may be useful for speeding up calculations when the number of elements, nj, is very large. Otherwise it can actually be slower than just using the higher precision method.

Value

Returns an updated sscs object.


crtwomey/sscs documentation built on Dec. 25, 2019, 8:03 a.m.