Description Usage Arguments Details Value
View source: R/auxiliary_functions.R
Calculate a centralized version of the distance matrix.
1 2 |
X |
a numeric vector or a numeric matrix. |
metr.X |
metric that should be used to compute the distance matrix. |
bias.corr |
logical; indicates if the corresponding estimator of the covariance matrix is biased or unbiased. |
... |
additional parameters that are used for other metrics (e.g., the bandwidth for Gaussian kernels) |
For metr.X the following metrices are built in: euclidean, gaussian and discrete. However, it is possible to use a function taking two numerical arguments as metr.X.
The centralized distance matrix corresponding to X.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.