Skip to contents

Main function

Usage

nndist(
  x,
  y,
  x0 = NULL,
  k = NULL,
  epsilon = 1,
  fullw = FALSE,
  scalar = FALSE,
  iter = 1,
  cv = 0
)

Arguments

x

matrix

y

y

x0

colMeans of x

k

number of clusters

epsilon

epsilon

fullw

fullw

scalar

boolean

iter

number of iterations

cv

cross-validate

Value

A list with items including Name of the Application, No. of pages remaining (given the money), No. of fields remaining (given the money), and when the application credits expire.

Examples

if (FALSE) { # \dontrun{
nndist()
} # }