ds.dist | R Documentation |
This function is similar to the native R function from stats
ds.dist(
df.name = NULL,
method = "euclidean",
newobj = NULL,
datasources = NULL
)
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' |
newobj |
is the name of the new object which is created with this function |
datasources |
a list of |
The function calls the server-side function distDS
that computes the
distance matrix of a data set (type data.frame or matrix) and assigns the new object to the server-side, which will be of class 'dist'.
The new object is named by the user using the newobj
argument, otherwise it is named dist.newobj
by default.
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.