FindDistm: Find the distance matrix from data.

View source: R/FindDistm.R

FindDistmR 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


ethanyxu/ADPclust documentation built on June 3, 2022, 12:38 p.m.