nem | R Documentation |
Negative Eigenvalue Magnitude (NEM) is a measure of distortion for the data whether they are lying in Euclidean manner or not. When the value is exactly 0, it means the data is Euclidean. On the other hand, when NEM is far away from 0, it means not Euclidean. The concept of NEM is closely related to the definiteness of a Gram matrix.
nem(data)
data |
an |
a nonnegative NEM value.
pekalska_noneuclidean_2006maotai
## use simple example of iris dataset
data(iris)
mydat = as.matrix(iris[,1:4])
## calculate NEM
nem(mydat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.