vatimage: Generate ordered dissimilarities matrix for VAT analysis

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

View source: R/vatimage.R

Description

This function generates the ordered dissimilarity matrix (ODM) for VAT analysis. ODM can be also displayed as an ordered dissimilarity image (ODI).

Usage

1
vatimage(x, normalize=FALSE, disp=TRUE)

Arguments

x

A numeric matrix containing the data.

normalize

A logical value whether the the ordered dissimilarities matrix will be normalized or not. The default is FALSE.

disp

A logical value whether the the ordered dissimilarities image will be displayed or not. The default is TRUE.

Details

The function works as below:

Value

odm

Ordered dissimilarities matrix

dm

Original dissimilarities matrix

Author(s)

Zeynel Cebeci

References

Cebeci, Z. & Yildiz, F. (2015). Gorsel Kumelenme Egilimi Degerlendirmesi ve R'de Uygulamasi. Cukurova Universitesi Ziraat Fakultesi Dergisi, 30 (2), 1-8. (URL: https://dergipark.org.tr/en/download/article-file/219860)

See Also

binimage, findk, findk2, genbinimg, greyimage, vatdisp

Examples

1
2
3
4
5
6
7
8
9
# Load the dataset protcarbo
data(protcarbo)

# Run vatimage to build ordered dissimilarities matrix 
vatmat <- vatimage(protcarbo, disp=TRUE)$odm

# Find the number of clusters
k <- findk(vatmat)$k
print(k)

zcebeci/VatAna documentation built on Dec. 25, 2019, 7:07 p.m.