dist.func
returns a sum total of all distances for each row of the matrix from the centroid.
1 2 |
mndata |
matrix dataset with numeric columns. |
standardize |
is a booleon variable to denote whether columns should first be scaled to 0-1. |
method |
dictates how distance is computed. Currently, only "euclidean" is implemented. |
centroid |
allows user to specify the centroid values for each column. Otherwise, the mean of each column is taken by default. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.