vatdisp: Plot the dissimilarities matrices for VAT analysis

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

View source: R/vatdisp.R

Description

This function displays the images of dissimilarity matrices.

Usage

1
vatdisp(x, renk="grey", which=0, greylevel=256)

Arguments

x

A numeric matrix containing the data.

renk

A character string to describe the name of color palette to be used in drawing the images. The options are "cm", "gray", "heat", "terrain", and "topo". The default color pallette is "grey".

which

An integer indicates the type of plot to be displayed. The options: 1 for histogram, 2 for original dissimilarities matrix, 3 for ordered dissimilarities matrix and 4 for binary image matrix to be used for finding the clusters in the dataset x. The default is 0 for displaying all of the images.

greylevel

An integer between 2 and 256 for grey-level image of the ODM. Usual values are 16, 128, and 256. The default value is 256.

Details

The images and plots are drew by the functions:

  1. Histogram of the original dissimilarities.

  2. Image of original dissimilarities.

  3. Image of the ordered dissimilarities.

  4. Image of the binary version of the ordered dissimilarities.

Value

No value is returned.

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, vatimage

Examples

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

# Display the images with default values
vatdisp(protcarbo)

# Display the ODM images with topo colors
vatdisp(protcarbo, which=3, renk="topo")

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