Displaying 1 result from an estimated 1 matches for "eculidean".
2008 Apr 30
0
Getting variable names from as.matrix
...gram to create the similarity
matrix, I can't get the program to give me variable names on the plot.
Here is the input
## Sammon's MDS
country.demog <- read.csv("~/Desktop/country.demog.csv")
## daisy requires loading the cluster package. It will calculate
standardized Eculidean distances
country.demog.dist <- daisy(country.demog,metric="euclidean",stand=TRUE)
## The following line calculates the ordinal MDS
country.mds <- sammon(dist(country.demog.dist), k=2)
## The following lines create the MDS map using country names. It also
places horizontal and...