cccd (version 1.6)

ccd: Cluster Catch Digraphs

Description

construct the cluster catch digraph from a data matrix.

Usage

ccd(data, m = 1, alpha = 0.05, sequential = TRUE, method = NULL)
# S3 method for ccd
plot(x,...)

Arguments

data

a matrix of observations.

m

slope of the null hypothesis curve.

alpha

alpha for the K-S test if sequential=T.

sequential

use the sequential or non-sequential version.

method

the method used for the distance. See dist.

x

an object of class ccd.

arguments passed to plot.cccd.

Value

an object of class igraph. In addition, this contains the attributes:

R

the radii.

stats

the K-S statistics.

layout

the data vectors.

walks

the y-values of the random walks.

fs

the null hypothesis curve.

A

the adjacency matrix.

m,alpha

arguments passed to ccd.

Details

cluster cover digraph. plot.ccd is just a call to plot.cccd.

References

D.J. Marchette, Random Graphs for Statistical Pattern Recognition, John Wiley & Sons, 2004.

See Also

cccd

Examples

Run this code
# NOT RUN {
x <- matrix(rnorm(100),ncol=2)
G <- ccd(x)
# }
# NOT RUN {
plot(G)
# }

Run the code above in your browser using DataLab