distDS | R Documentation |
This function is similar to the native R function from stats
distDS(df.name, method)
df.name |
is a string character of the data set (either a data.frame or a matrix) |
method |
specifies the method for the distance matrix calculation and can be either 'euclidean', 'maximum', 'manhattan', 'canberra', 'binary' or 'minkowski' |
The function computes the distance matrix of a data set with multiple variables.
the object specified by the newobj
argument of ds.dist
or default name dist.newobj
Florian Schwarz for the German Institute of Human Nutrition
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.