Last data update: 2014.03.03

R: Summary of HMAC output
summaryR Documentation

Summary of HMAC output

Description

Gives the summary of output of a 'hmac' object.

Usage

## S3 method for class 'hmac'
summary(object,...)

Arguments

object

The output of HMAC analysis. An object of class 'hmac'.

...

further arguments passed to or from other methods.

Author(s)

Surajit Ray and Yansong Cheng

References

Li. J, Ray. S, Lindsay. B. G, "A nonparametric statistical approach to clustering via mode identification," Journal of Machine Learning Research , 8(8):1687-1723, 2007.

Lindsay, B.G., Markatou M., Ray, S., Yang, K., Chen, S.C. "Quadratic distances on probabilities: the foundations," The Annals of Statistics Vol. 36, No. 2, page 983–1006, 2008.

See Also

phmac for front end of using modal clustering and also for parallel implementation of modal clustering.

Examples

data(disc2d.hmac)
summary(disc2d.hmac)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(Modalclust)
Loading required package: mvtnorm
Loading required package: zoo

Attaching package: 'zoo'

The following objects are masked from 'package:base':

    as.Date, as.Date.numeric

Loading required package: class
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/Modalclust/summary.hmac.Rd_%03d_medium.png", width=480, height=480)
> ### Name: summary
> ### Title: Summary of HMAC output
> ### Aliases: summary.hmac summary
> ### Keywords: cluster, hierarchical, nested, modal
> 
> ### ** Examples
> 
> data(disc2d.hmac)
> summary(disc2d.hmac)
At levels 1 2 3  there are  4 3 2  clusters respectively 
 
The modes of each level of clusters are 
 
Modes at level  1 
         X1         X2
1 0.4991193  0.4112484
2 1.4563997  0.9594475
3 2.9902405 -0.8986439
4 4.4219625 -0.1451180

Modes at level  2 
         X1         X2
1 0.5184229  0.4269087
2 1.4780928  0.9519243
3 3.0214890 -0.8986338

Modes at level  3 
        X1         X2
1 1.502569  0.9424770
2 3.049604 -0.8960544

> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>