calc.dist.clust.point: INTERNAL

Description Usage Arguments Value

Description

Calculates the distance between a cluster of vectors and a single vector

Usage

1
calc.dist.clust.point(clust, pnt, type = "single", dist.type = "spearman")

Arguments

clust

An (n by m) matrix representing $m$ vectors ($n$ realizations for $m$ random variables) in a cluster.

pnt

An $n$ vector representing a single random variable, or a single point

type

The type composite distance, “single", “complete" or “average"

dist.type

distance type “spearman", "pearson" or “euclid"

Value

A numeric value, the distance between pnt to clust.


ftyu1234/Aclust documentation built on May 16, 2019, 3:37 p.m.