InterpointMat: This function calculates the interpoint distance between two...

Description Usage Arguments Value Examples

Description

This function calculates the interpoint distance between two matrices.

Usage

1

Arguments

X

A matrix, with each row represents one data object, and the number of columns represents the number of features.

Y

A matrix, with each row represents one data object, and the number of columns represents the number of features.

Value

The interpoint distances between two matrices.

Examples

1
2
3
X = matrix(c(1,2,3,4), ncol = 2)
Y = matrix(c(5,6,7,8), ncol = 2)
InterpointMat(X, Y)

hankuipeng/HKCluster documentation built on May 27, 2019, 8:45 a.m.