Learn R Programming

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

klaR (version 1.7-0)

Classification and Visualization

Description

Miscellaneous functions for classification and visualization, e.g. regularized discriminant analysis, sknn() kernel-density naive Bayes, an interface to 'svmlight' and stepclass() wrapper variable selection for supervised classification, partimat() visualization of classification rules and shardsplot() of cluster results as well as kmodes() clustering for categorical data, corclust() variable clustering, variable extraction from different variable clustering models and weight of evidence preprocessing.

Copy Link

Version

Install

install.packages('klaR')

Monthly Downloads

10,777

Version

1.7-0

License

GPL-2 | GPL-3

Maintainer

Last Published

March 10th, 2022

Functions in klaR (1.7-0)

B3

West German Business Cycles 1955-1994
GermanCredit

Statlog German Credit
calc.trans

Calculation of transition probabilities
TopoS

Computation of criterion S of a visualization
EDAM

Computation of an Eight Direction Arranged Map
centerlines

Lines from classborders to the center
benchB3

Benchmarking on B3 data
NaiveBayes

Naive Bayes Classifier
b.scal

Calculation of beta scaling parameters
dkernel

Estimate density of a given kernel
betascale

Scale membership values according to a beta scaling
corclust

Function to identify groups of highly correlated variables for removing correlated features from the data for further analysis.
locpvs

Pairwise variable selection for classification in local models
.dmvnorm

Density of a Multivariate Normal Distribution
meclight.default

Minimal Error Classification
countries

Socioeconomic data for the most populous countries.
loclda

Localized Linear Discriminant Analysis (LocLDA)
kmodes

K-Modes Clustering
distmirr

Internal function to convert a distance structure to a matrix
friedman.data

Friedman's classification benchmark data
errormatrix

Tabulation of prediction errors by classes
cvtree

Extracts variable cluster IDs
greedy.wilks

Stepwise forward variable selection for classification
drawparti

Plotting the 2-d partitions of classification methods
hmm.sop

Calculation of HMM Sum of Path
plot.NaiveBayes

Naive Bayes Plot
plineplot

Plotting marginal posterior class probabilities
predict.meclight

Prediction of Minimal Error Classification
e.scal

Function to calculate e- or softmax scaled membership values
nm

Nearest Mean Classification
predict.loclda

Localized Linear Discriminant Analysis (LocLDA)
predict.locpvs

predict method for locpvs objects
cond.index

Calculation of Condition Indices for Linear Regression
partimat

Plotting the 2-d partitions of classification methods
predict.pvs

predict method for pvs objects
rerange

Linear transformation of data
sknn

Simple k nearest Neighbours
classscatter

Classification scatterplot matrix
predict.rda

Regularized Discriminant Analysis (RDA)
stepclass

Stepwise variable selection for classification
woe

Weights of evidence
shardsplot

Plotting Eight Direction Arranged Maps or Self-Organizing Maps
xtractvars

Variable clustering based variable selection
quadplot

Plotting of 4 dimensional membership representation simplex
triperplines

Barycentric plots
trigrid

Barycentric plots
pvs

Pairwise variable selection for classification
tritrafo

Barycentric plots
quadtrafo

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

Uschi's classification performance measures
plot.woe

Plot information values
rda

Regularized Discriminant Analysis (RDA)
predict.NaiveBayes

Naive Bayes Classifier
tripoints

Barycentric plots
triplot

Barycentric plots
svmlight

Interface to SVMlight
predict.svmlight

Interface to SVMlight
triframe

Barycentric plots
predict.sknn

Simple k Nearest Neighbours Classification
predict.woe

Weights of evidence