Description Usage Arguments Value Examples
View source: R/Multivariate_Class.R
Mean distance
1 | m_mean_distance(X, y)
|
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) |
a data frame containing the average distance of each row to all observations of each cluster C
1 | m_mean_distance(m_matrix_distance(iris[,c("Sepal.Length","Sepal.Width")],d="euclidean"), iris[,'Species'])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.