Description Usage Arguments Value Examples
View source: R/Multivariate_Class.R
Distance Matrix
1 | m_matrix_distance(X, d)
|
X |
a matrix or dataframe with explanatory variables |
d |
the distance measure to be used and this must be "euclidean" or "L1" |
the distance matrix computed by using the euclidean distance or L1 distance between the rows of X.
1 | m_matrix_distance(iris[,c("Sepal.Length","Sepal.Width")],d="euclidean")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.