m_mean_distance: Mean distance

Description Usage Arguments Value Examples

View source: R/Multivariate_Class.R

Description

Mean distance

Usage

1

Arguments

X

a numeric symmetric matrix containing the pairwise distance between the rows of a data frame

y

a factor such that length(X)=length(y)

Value

a data frame containing the average distance of each row to all observations of each cluster C

Examples

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

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