Matrix2Proximities: Matrix to Proximities

View source: R/Matrix2Proximities.R

Matrix2ProximitiesR Documentation

Matrix to Proximities

Description

Converts a matrix of proximities into a Proximities object as used in Principal Coordinates or MDS

Usage

Matrix2Proximities(x, TypeData = "User Provided", 
Type = c("dissimilarity", "similarity", "products"), 
Coefficient = "None", Transformation = "None", Data = NULL)

Arguments

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).

Details

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.

Value

An object of class Proximities containing the proximities matrix and some extra information about it.

Author(s)

Jose Luis Vicente Villardon


MultBiplotR documentation built on Nov. 21, 2023, 5:08 p.m.