m_matrix_distance: Distance Matrix

Description Usage Arguments Value Examples

View source: R/Multivariate_Class.R

Description

Distance Matrix

Usage

1

Arguments

X

a matrix or dataframe with explanatory variables

d

the distance measure to be used and this must be "euclidean" or "L1"

Value

the distance matrix computed by using the euclidean distance or L1 distance between the rows of X.

Examples

1
m_matrix_distance(iris[,c("Sepal.Length","Sepal.Width")],d="euclidean")

clepadellec/ClustersAnalysis documentation built on Dec. 31, 2020, 10:03 p.m.