ExpectedLogW: Compute log expected sum of pairwise distances for a given...

Description Usage Arguments Examples

View source: R/ExpectedLogW.R

Description

This function computes log expected sum of pairwise distances for a given grouping. It assumes data points are uniformly distributed within a range of values in every dimension. It first computes the expected sum of pairwise distances for each group (cluster) and then takes log for the sum of expected sums acros all groups.

Usage

1
ExpectedLogW(pc.ranges, one.clustering)

Arguments

pc.ranges

a numeric matrix: the minimum (1st row) and the maximum (2nd row) for each dimension (column)

one.clustering

a vector indicating the clustering membership for each data point

Examples

1
ExpectedLogW(pc.ranges, one.clustering)

NHLBI-BCB/IKAP documentation built on March 21, 2020, 8:08 p.m.