cmdscale | R Documentation |
cmdscale
for S3 classWrapper to cmdscale
for S3 class
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 maximum dimension of the space which the data are to be represented in |
eig |
indicates whether eigenvalues should be returned. Defaults to TRUE. |
... |
additional parameters passed to cmdscale. See |
overloads stats::cmdscale turns on the liosting and adds slots and class attributes for which there are methods.
Object of class 'cmdscalex' and 'cmdscale' extending cmdscale
. This wrapper always returns the results of cmdscale as a list, adds column labels to the $points and adds extra elements (conf=points, delta=d, confdist=dist(conf), dhat=d) and the call to the list, and assigns S3 class 'cmdscalex' and 'cmdscale'.
dis<-as.matrix(smacof::kinshipdelta)
res<-cmdscale(dis)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.