View source: R/Matrix2Proximities.R
Matrix2Proximities | R Documentation |
Converts a matrix of proximities into a Proximities object as used in Principal Coordinates or MDS
Matrix2Proximities(x, TypeData = "User Provided",
Type = c("dissimilarity", "similarity", "products"),
Coefficient = "None", Transformation = "None", Data = NULL)
x |
The matrix of proximities (a symmetrical matrix) |
TypeData |
By default is User provided but could be any type. |
Type |
Type of proximity: dissimilarity, similarity or scalar product. If not provided, the default is dissimilarity |
Coefficient |
Name of the procedure to calculate the proximities (if any). |
Transformation |
Transformation used to calculate dissimilarities from similarities (if any) |
Data |
Raw data used to calculate the proximity (if any). |
Converts a matrix of proximities into a Proximities object as used in Principal Coordinates or MDS aading some extra information about the procedure used to obtain the proximities. Is mainly used when the proximities matrix has been provided by the user and not calculated from raw data using BinaryProximities, ContinuousDistances or any other function.
An object of class Proximities
containing the proximities matrix and some extra information about it.
Jose Luis Vicente Villardon
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.