class: Functions for Classification

Various functions for classification, including k-nearest neighbour, Learning Vector Quantization and Self-Organizing Maps.

Version: 7.3-22
Priority: recommended
Depends: R (≥ 3.0.0), stats, utils
Imports: MASS
Published: 2023-05-03
DOI: 10.32614/CRAN.package.class
Author: Brian Ripley [aut, cre, cph], William Venables [cph]
Maintainer: Brian Ripley <ripley at>
License: GPL-2 | GPL-3
NeedsCompilation: yes
Citation: class citation info
Materials: NEWS
CRAN checks: class results


Reference manual: class.pdf


Package source: class_7.3-22.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): class_7.3-22.tgz, r-oldrel (arm64): class_7.3-22.tgz, r-release (x86_64): class_7.3-22.tgz, r-oldrel (x86_64): class_7.3-22.tgz
Old sources: class archive

Reverse dependencies:

Reverse depends: BarcodingR, clv, ddalpha, LearnPCA, longitudinalData, maPredictDSC, mda, MOCCA, Modalclust, MTPS, multisom
Reverse imports: AdaSampling, agghoo, chemometrics, childsds, classifly, classInt, clValid, cogena, daltoolbox, decisionSupport, DeepLearningCausal, demuxSNP, diceR, DMwR2, e1071, evaluomeR, flexclust, flowBin, fpc, GHap, HistDAWass, ipred, KMEANS.KNN, lineup, lisaClust, liver, MAIT, MBHdesign, MBMethPred, mlearning, Modeler, ModTools, MorphoTools2, mt, nnlib2Rcpp, npsm, OTclust, prcr, pRoloc, qkerntool, RAIDS, RaSEn, RclusTool, rgnoisefilt, RPEnsemble, sClust, scone, signeR, sigQC, smallstuff, som.nn, spathial, stylo, supclust, symphony, trajmsm, triptych, twoddpcr, uHMM
Reverse suggests: animation, catdata, ClassifyR, CMA, Evacluster, fdm2id, flowml, frbs, FRESA.CAD, fscaret, genefilter, hmeasure, loon.tourr, mapsFinland, mlexperiments, MLInterfaces, mlr, origami, RoughSets, shipunov, subsemble, SuperLearner, superMICE, TBSignatureProfiler, TunePareto


Please use the canonical form to link to this page.