cmdscale(d, k=2, eig=FALSE)
d
 | 
a distance structure such as that returned by dist
or a full symmetric matrix containing the dissimilarities.
 | 
k
 | the dimension of the space which the data are to be represented in. | 
eig
 | indicates whether eigenvalues should be returned. | 
The functions isomds and sammon provide
alternative ordination techniques.
points
 | 
a matrix with k columns whose rows give the
coordinates of the points chosen to represent the dissimilarities.
 | 
eig
 | if requested,pthe eigenvalues computed during the scaling process. | 
Torgerson, W. S. (1958). Theory and Methods of Scaling. New York: Wiley.
dist,
isomds,
sammon.data(eurodist) loc <- cmdscale(eurodist) x <- loc[,1] y <- -loc[,2] plot(x, y, type="n", xlab="", ylab="") text(x, y, names(eurodist), cex=0.5)