powered by
Cayley-Menger determinant is a formula of a \(n\)-dimensional simplex with respect to the squares of all pairwise distances of its vertices.
cayleymenger(data)
a list containing
determinant value.
volume attained from the determinant.
an \((n\times p)\) matrix of row-stacked observations.
## USE 'IRIS' DATASET data(iris) X = as.matrix(iris[,1:4]) ## COMPUTE CAYLEY-MENGER DETERMINANT # since k=4 < n=149, it should be zero. cayleymenger(X)
Run the code above in your browser using DataLab