(Internal function) Select a clustering method to be used for the IPCAPS process.

clustering.mode(node, work.dir, method)

Arguments

node

An integer representing the current node number which is being analyzed.

work.dir

A working directory.

method

A clustering method selected from the ipcaps function. See ipcaps for available methods.

Value

A vector of cluster assignment, for which cluster each individual belongs.

See also