knnSURF: knnSURF

View source: R/utils.R

knnSURFR Documentation

knnSURF

Description

Theoretical value for the number of expected neighbors for SURF or multiSURF

Usage

knnSURF(m.samples, sd.frac = 0.5)

Arguments

m.samples

number of samples in data.

sd.frac

fraction of the standard deviation from the mean of all pairwise distances, dead-band. The default value used by the SURF and multiSURF algorithms is 1/2.

Value

knn Number of neighbors.

Examples

k.surf <- knnSURF(200, .5)

insilico/glmSTIR documentation built on July 7, 2023, 12:29 a.m.