distancesM3: Distance Minkowski 3

Description Usage Arguments Value Author(s)

View source: R/distancesM3.R

Description

Calculates the Minkowski 3 distances between all rows of a matrix.

Usage

1
distancesM3(data, defined)

Arguments

data

A matrix, containing the data as rows.

defined

A vector containing 1 for all columns of data to be used and other values for all columns to be discarded.

Value

dd

A matrix, containing the distances between the rows of data.

dv

A vector containing the distances. Built from the upper triangular distance matrix.

Author(s)

Raphael Paebst


Mthrun/Distances documentation built on Feb. 4, 2020, 8:39 p.m.