Hi everyone, I have some exercises to do of multidimensional scaling and i'm trying to check if, given data of dissimilarities between European cities, they are euclidean distances and if they aren't, how to obtain euclidean distances from them. Any help is appreciated. Thanks!!!
In the simplest case, for a pair of points
(points <- matrix(c(1, 2, 4, 6), nrow = 2, byrow = TRUE))
#> [,1] [,2]
#> [1,] 1 2
#> [2,] 4 6
(euclidean_distance <- dist(points))
#> 1
#> 2 5
Created on 2023-07-16 with reprex v2.0.2
This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.