View source: R/mdessence-functions.R
make_mds_matrices | R Documentation |
Computes MDS representation and other associated values
make_mds_matrices(X = NULL, dist_fn = NULL, dist_mat = NULL)
X |
A samples x variables data matrix |
dist_fn |
A function that computes the distances between the rows of Y. |
dist_mat |
If this argument is non-null, use it as the distance matrix instead of calling dist_fn on the rows of X. |
A list, containing - delta: Matrix of squared distances. - jdj: Row- and column-centered -.5 * delta - d2: The diagonal elements of jdj - Y: The embeddings of the samples in the MDS space. - Lambda: The eigenvalues of jdj. - X: The original data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.