FindDistm {ADPclust} | R Documentation |
Find the distance matrix from data.
Description
A wrapper of the dist() method, with the option to rescale the data with standard deviation of each dimension before calculating the distance matrix. NOTE: If fdelta='mnorm' is passed to adpclust(), then the distm is calculated from rescaled data internally, i.e. distm <- FindDistm(x, normalize = TRUE).
Usage
FindDistm(x, normalize = FALSE, method = "euclidean")
Arguments
x |
data |
normalize |
boolean. Normalize data before calculating distance? |
method |
passed to 'dist()' |
Value
distance matrix of class dist.
Author(s)
Ethan Xu
[Package ADPclust version 0.7 Index]