co_occurrence: A helper function for that determines if two data items x1...

Description Usage Arguments Value

Description

A helper function for that determines if two data items x1 and x2 occur in one clustering of the data

Usage

1
co_occurrence(x1, x2, data_function, cluster_function)

Arguments

x1

Data item i.

x2

Data item j.

data_function

A function, such that data_function() returns n-2 resampled data points.

cluster_function

A clustering function that returns a set of cluster labels.

Value

1 if x1 and x2 are in the same clustering, 0 if not. NULL if the clustering failed.


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