Learn R Programming

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

klaR (version 0.6-15)

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

16,884

Version

0.6-15

License

GPL-2 | GPL-3

Maintainer

Uwe Ligges

Last Published

February 19th, 2020

Functions in klaR (0.6-15)

benchB3

Benchmarking on B3 data
e.scal

Function to calculate e- or softmax scaled membership values
friedman.data

Friedman's classification benchmark data
drawparti

Plotting the 2-d partitions of classification methods
greedy.wilks

Stepwise forward variable selection for classification
errormatrix

Tabulation of prediction errors by classes
predict.rda

Regularized Discriminant Analysis (RDA)
hmm.sop

Calculation of HMM Sum of Path
EDAM

Computation of an Eight Direction Arranged Map
shardsplot

Plotting Eight Direction Arranged Maps or Self-Organizing Maps
predict.sknn

Simple k Nearest Neighbours Classification
rerange

Linear transformation of data
sknn

Simple k nearest Neighbours
B3

West German Business Cycles 1955-1994
tritrafo

Barycentric plots
nm

Nearest Mean Classification
cond.index

Calculation of Condition Indices for Linear Regression
calc.trans

Calculation of transition probabilities
classscatter

Classification scatterplot matrix
partimat

Plotting the 2-d partitions of classification methods
centerlines

Lines from classborders to the center
plineplot

Plotting marginal posterior class probabilities
stepclass

Stepwise variable selection for classification
quadtrafo

Transforming of 4 dimensional values in a barycentric coordinate system.
predict.loclda

Localized Linear Discriminant Analysis (LocLDA)
GermanCredit

Statlog German Credit
distmirr

Internal function to convert a distance structure to a matrix
predict.locpvs

predict method for locpvs objects
ucpm

Uschi's classification performance measures
xtractvars

Variable clustering based variable selection
tripoints

Barycentric plots
woe

Weights of evidence
plot.NaiveBayes

Naive Bayes Plot
rda

Regularized Discriminant Analysis (RDA)
loclda

Localized Linear Discriminant Analysis (LocLDA)
countries

Socioeconomic data for the most populous countries.
triplot

Barycentric plots
NaiveBayes

Naive Bayes Classifier
corclust

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

K-Modes Clustering
cvtree

Extracts variable cluster IDs
plot.woe

Plot information values
locpvs

Pairwise variable selection for classification in local models
predict.meclight

Prediction of Minimal Error Classification
triperplines

Barycentric plots
meclight.default

Minimal Error Classification
predict.svmlight

Interface to SVMlight
trigrid

Barycentric plots
predict.NaiveBayes

Naive Bayes Classifier
predict.pvs

predict method for pvs objects
pvs

Pairwise variable selection for classification
predict.woe

Weights of evidence
triframe

Barycentric plots
quadplot

Plotting of 4 dimensional membership representation simplex
svmlight

Interface to SVMlight
betascale

Scale membership values according to a beta scaling
TopoS

Computation of criterion S of a visualization
.dmvnorm

Density of a Multivariate Normal Distribution
dkernel

Estimate density of a given kernel
b.scal

Calculation of beta scaling parameters