cluster.sample.stats: Sample statistics of subsets of data

Description Usage Arguments Value Examples

View source: R/Clustering.R

Description

Divide an angular data set into subsets and obtain sample statistics for each subset.

Usage

1
cluster.sample.stats(data, clusts, include.noise = F)

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 index and size of the subset tested; sample statistics as generated by bc.sample.statistics; von Mises and Jones-Pewsey maximum-likelihood estimators; AIC and BIC scores for ML von Mises and Jones-Pewsey distributions.

Examples

1
c.stats <- cluster.sample.stats(q, dbscan(centres, eps = 2.5, MinPts = 4)$cluster)

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