clustering.mode: (Internal function) Select a clustering method to be used for...

View source: R/clustering.mode.R

clustering.modeR Documentation

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

Description

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

Usage

clustering.mode(
  node,
  work.dir,
  method,
  silence.mode = FALSE,
  seed = NULL,
  no.rep = 5,
  cutoff.confident = 0.5
)

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 ipcaps2 function. See ipcaps2 for available methods.

silence.mode

To enable or disable silence mode. If silence mode is enabled, the fuction is processed without printing any message on the screen, and it is slightly faster. Default = TRUE.

seed

To specify a seed number for random generator. Default = NA, which means that a seed number is automatically chose.

no.rep

To specify a number of time to replicate the internal clustering. Default = 5,

cutoff.confident

To specify a cutoff for confident values. The confident values are calculated based the clustering results of all replicates. The confident values represent the best of average values (agreed clusters) among the member of clusters. Default = 0.5.

Value

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

See Also

ipcaps2


kridsadakorn/ipcaps2 documentation built on June 11, 2022, 8:35 p.m.