Description Usage Arguments Value Examples
Implementation of Davies-Bouldin index to evaluate the quality of CLARA Clustering.
1 2 3 4 5 6 7  | davies_bouldin(
  seq_obj,
  distargs = list(method = "LCS"),
  diss = TRUE,
  plot = TRUE,
  cores = detectCores() - 1
)
 | 
seq_obj | 
 The object generated with CLARA Clustering  | 
distargs | 
 List with method parameters to apply. (See the function seqdist in TraMineR package)  | 
diss | 
 Boolean to express if the parameter diss from CLARA.seq clustering has been returned (Matrix size must be k columns and n rows - see refseq function from TraMineR package)  | 
plot | 
 Boolean variable to plot the research convergence  | 
cores | 
 Number of cores to use for parallelism  | 
The value of the index
1  | my_index <- davies_bouldin(my_cluster)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.