
Last chance! 50% off unlimited learning
Sale ends in
IsEuclid
is used in summary.dist
.IsEuclid(distmat, plot = FALSE, print = FALSE, tol = 1e-07)
-tol*lambda1
where lambda1
is the largest eigenvalue.w <- matrix(runif(10000), 100, 100)
w <- dist(w)
summary(w)
IsEuclid (w) # TRUE
Run the code above in your browser using DataLab