spectacles (version 0.5-0)

kenstone: Kennard-Stone algorithm for optimal calibration set selection.

Description

An implemnentation of the Kennard-Stone algorithm for calibration set selection.

Usage

kenstone(x, size, ...)

Arguments

x

a Spectra object

size

a positive number, the number of items to choose from

...

ignored

Value

A vector of length size giving the indices of the selected individuals in x.

References

Kennard, L.A. Stone, Technometrics 11 (1969) 137.