dist.func: Calculating the distance between each row of the matrix and...

Description Usage Arguments

View source: R/Distance.R

Description

dist.func returns a sum total of all distances for each row of the matrix from the centroid.

Usage

1
2
dist.func(mndata, standardize = TRUE, method = "euclidean",
  centroid = NULL)

Arguments

mndata

matrix dataset with numeric columns.

standardize

is a booleon variable to denote whether columns should first be scaled to 0-1.

method

dictates how distance is computed. Currently, only "euclidean" is implemented.

centroid

allows user to specify the centroid values for each column. Otherwise, the mean of each column is taken by default.


MiRAnorm documentation built on May 1, 2019, 7:12 p.m.