agnesAC: AGNES coefficient

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

computes the AGNES coefficient of a graph structure.

Usage

1
2

Arguments

A

matrix or Matrix object with adjacency matrix of a graph.

Details

The input of the AGNES hierarchical algorithm is the dissimilarity matrix of the graph structure A computed by graphCorr. Then the R function agnes is used to calculate the coefficient.

Value

AGNES coefficient magnitude for the given graph structure.

Author(s)

Caballe, Adria <a.caballe@sms.ed.ac.uk>, Natalia Bochkina and Claus Mayer.

References

Rousseeuw, P., A. Struyf, and M. Hubert (2013). cluster: Cluster Analysis Basics and Extensions.

See Also

lambdaSelection for lambda selection approaches.

Examples

1
2
3
4
5
6
7
8
EX1        <- pcorSimulator(nobs = 50, nclusters = 2, nnodesxcluster = c(40,30), 
                            pattern = "powerLaw")
y           <- EX1$y
out3        <- huge(y, method = "mb", lambda = 0.4)
PATH        <- out3$path[[1]]
hm          <- agnesCoef(PATH)

 

ldstatsHD documentation built on Aug. 14, 2017, 5:06 p.m.