boot_alg_list {clustAnalytics}R Documentation

Performs nonparametric bootstrap to a graph and a list of clustering algorithms

Description

Performs nonparametric bootstrap on a graph's by resampling its vertices and clustering the results using a list of clustering algorithms.

Usage

boot_alg_list(
  alg_list = list(Louvain = cluster_louvain, `label prop` = cluster_label_prop, walktrap
    = cluster_walktrap),
  g,
  R = 999,
  return_data = FALSE,
  type = "global"
)

Arguments

alg_list

List of igraph clustering algorithms

g

igraph graph object

R

Number of bootstrap replicates.

return_data

Logical. If TRUE, returns a list of "boot" objects with the full results. Otherwise, returns a table with the mean results.

type

Can be "global" (Variation of Information, Reduced Mutual Information, and adjusted Rand Index) or "cluster-wise" (Jaccard distance)

Value

If return_data is set to TRUE, returns a list of objects of class "boot" (see boot). Otherwise, returns as table with the mean distances from the clusters in the original graph to the resampled ones, for each of the algorithms.


[Package clustAnalytics version 0.5.5 Index]