compare.clusters: Compare subsets of data against others

Description Usage Arguments Value Examples

View source: R/Clustering.R

Description

Divide an angular data set into subsets and compare the characteristics of each subset against the remaining angles, to test whether they might plausibly share the same distribution.

Usage

1
compare.clusters(data, clusts, include.noise = F, reps = 999)

Arguments

data

Vector of angles.

clusts

Vector of indices denoting the cluster to which each angle has been assigned.

include.noise

Boolean indicator: should cluster 0 (noise cluster) be included in the output?

Value

A matrix containing the size of the subset tested; the Rayleigh test score (rayleigh.test); Watson mean test score (watson.common.mean.test); Wallraff concentration test score (wallraff.concentration.test); Mardia-Watson-Wheeler large-sample test of common distribution (mww.common.dist.LS); and randomised Watson two-sample test of common distribution (same.dist.watson.rand).

Examples

1
c.res <- compare.clusters(q, dbscan(centres, eps = 2.5, MinPts = 4)$cluster)

ClairBee/AS.circular documentation built on Jan. 24, 2020, 3:57 p.m.