minDistToHigher: Calculate distance to nearest observation of higher density

Description Usage Arguments Value

View source: R/ClusterX.R

Description

This function finds, for each observation, the minimum distance to an observation of higher local density. With a rowise implementation of the pairwise distance calculation, makes the local density estimation fast and memory efficient. A big benifit is the aviliability for big data. Parallel computing is supported for fast calculation.

Usage

1
minDistToHigher(data, rho, ifParallel = FALSE)

Arguments

data

Numeric matrix of data or data frame.

rho

A vector of local density values as outputted by localDensity.

ifParallel

A boolean decides if run parallelly.

Value

A list of distances to closest observation of higher density and the ID


JinmiaoChenLab/ClusterX documentation built on May 7, 2019, 10:52 a.m.