Learn R Programming

⚠️There's a newer version (1.7-4) of this package.Take me there.

klaR (version 0.3-4)

Classification and visualization

Description

Miscellaneous functions for classification and visualization developed at the Department of Statistics, University of Dortmund

Copy Link

Version

Install

install.packages('klaR')

Monthly Downloads

19,468

Version

0.3-4

License

GPL version 2 or newer

Maintainer

Uwe Ligges with contributions from Andrea Preusser

Last Published

February 23rd, 2026

Functions in klaR (0.3-4)

predict.NaiveBayes

Naive Bayes Classifier
b.scal

Calculation of beta scaling parameters
e.scal

Function to calculate e- or softmax scaled membership values
centerlines

Lines from classborders to the center
quadtrafo

Transforming of 4 dimensional values in a barycentric coordinate system.
betascale

Scale membership values according to a beta scaling
tritrafo

Barycentric plots
predict.svmlight

Interface to SVMlight
triframe

Barycentric plots
svmlight

Interface to SVMlight
quadplot

Plotting of 4 dimensional membership representation simplex
EDAM

Computation of an Eight Direction Arranged Map
errormatrix

Tabulation of prediction errors by classes
friedman.data

Friedman's classification benchmark data
predict.sknn

Simple k Nearest Neighbours Classification
partimat

Plotting the 2-d partitions of classification methods
TopoS

Computation of criterion S of a visualization
trigrid

Barycentric plots
triperplines

Barycentric plots
countries

Socioeconomic data for the most populous countries.
stepclass

Stepwise variable selection for classification
rda

Regularized Discriminant Analysis (RDA)
smrplot

Plotting of membership representation simplex
B3

West German Business Cycles 1955-1994
.dmvnorm

Density of a Multivariate Normal Distribution
plineplot

Plotting marginal posterior class probabilities
plot.NaiveBayes

Naive Bayes Plot
triplot

Barycentric plots
distmirr

Internal function to convert a distance structure to a matrix
sknn

Simple k nearest Neighbours
classscatter

Classification scatterplot matrix
dkernel

Estimate density of a given kernel
tripoints

Barycentric plots
NaiveBayes

Naive Bayes Classifier
ucpm

Uschi's classification performance measures
calc.trans

Calculation of transition probabilities
predict.rda

Regularized Discriminant Analysis (RDA)
hmm.sop

Calculation of HMM Sum of Path
shardsplot

Plotting Eight Direction Arranged Maps or Self-Organizing Maps
drawparti

Plotting the 2-d partitions of classification methods