core_clustering: Core clustering.

Description Usage Arguments Value

Description

Core clustering.

Usage

1
2
3
core_clustering(data, clustering_func = NULL, sampling_func = NULL,
  method = "bootstrap", alpha = 0.1, n_iter = 1000, weak_cluster = -1,
  using_trim = FALSE, seed = NULL)

Arguments

data

The data. Either a matrix or a data frame, depending on the requirements of the clustering function.

clustering_func

A clustering function to use, which given data returns cluster indices.

sampling_func

A sampling function to use. Default is NULL. Only used when method is distribution.

method

The method to use. String. Either bootstrap to use bootstrapping or distribution to calculate the exact co-occurrence probabilities.

alpha

The confidenence level. Default 0.1

n_iter

The number of iterations to use. The default is 1000.

weak_cluster

The idnex to use for weak points. Default is -1.

using_trim

Boolean. Does the clustering method use trimming?

seed

Random seed. Default is NULL to not set the random seed.

Value

A list structure:

data

The data

alpha

The confidence level

iterations

The number of iterations

cluster

The initial clustering

cluster_core

The core clustering

mat

The co-occurrence probability matrix

amat

The adjacency matrix

using_trim

Whether or not the clustering method is using trimming

weak_cluster

The index used to describe the weak clusters


bwrc/corecluster-r documentation built on May 13, 2019, 9:12 a.m.