cmdsFit {htSeqTools} | R Documentation |
cmdsFit
obtains coordinates in a k
dimensional space
which best approximate the given distances between objects.
cmdsFit(d, k=2, type='classic', add=FALSE, cor.method='pearson')
d |
Distances between objects |
k |
Dimensionality of the reconstructed space, typically set to 2 or 3. |
type |
Set to |
add |
Logical indicating if an additive constant c* should be
computed, and added to the non-diagonal dissimilarities such
that all n-1 eigenvalues are non-negative in |
cor.method |
A character string indicating which correlation coefficient (or covariance) is to be computed. One of "pearson" (default), "kendall", or "spearman", can be abbreviated. |
The function returns a cmdsFit
object.
See help("cmdsFit-class") for details.
signature(d = "matrix")
Use Classical Multi-Dimensional Scaling to represent points in a k-dimensional space.
### Not run #d <- matrix(c(0,5,10,5,0,15,10,15,0),byrow=TRUE,ncol=3) #cmdsFit(d,add=TRUE)