

   11--nneeaarreesstt nneeiigghhbboouurr ccllaassssiiffiiccaattiioonn

        knn1(train, test, class)

   AArrgguummeennttss::

      train: matrix or data frame of training set cases.

       test: matrix or data frame of test set cases. A vector
             will be interpreted as a row vector for a single
             case.

      class: factor of true classification of training set.

   DDeessccrriippttiioonn::

        Nearest neighbour classification for test set from
        training set. For each row of the test set, the nearest
        (by Euclidean distance) training set vector is found,
        and its classification used. If there is more than one
        nearest, a majority vote is used with ties broken at
        random.

   VVaalluuee::

        factor of classifications of test set.

   SSeeee AAllssoo::

        `knn'

