Description Usage Arguments Details Value Author(s) References See Also Examples
This function generates the grey-level version of the ordered dissimilarity matrix (ODM) for VAT analysis.
1 |
img |
A numeric matrix containing the ordered dissimilarities. |
greylevel |
An integer describing the levels of grey image to be generated. Usual levels are 8, 16, 128 and 256. The default value is 256. |
disp |
A logical value whether the grey-level dissimilarities image will be displayed or not. The default is TRUE. |
If lower grey-levels are selected the blocks in the image can be seen more easily.
img |
Grey-level ordered dissimilarities matrix |
Zeynel Cebeci
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)
binimage
,
findk
,
findk2
,
genbinimg
,
vatimage
,
vatdisp
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Load the dataset protcarbo
data(protcarbo)
# Run vatimage to build ordered dissimilarities matrix
vatmat <- vatimage(protcarbo, disp=FALSE)$odm
# Generate the grey-level ordered dissimilarities matrix with 256 grey levels.
greymat <- greyimage(vatmat, disp=TRUE)
head(greymat)
# Generate the grey-level ordered dissimilarities matrix with 16 grey levels.
greymat2 <- greyimage(vatmat, greylevel=16, disp=TRUE)
head(greymat2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.