Learn R Programming

fdm2id (version 1.0.1)

Data Mining and R Programming for Beginners

Description

Contains functions to simplify the use of data mining methods (classification, regression, clustering, etc.), for students and beginners in R programming. Various R packages are used and wrappers are built around the main functions, to standardize the use of data mining methods (input/output): it brings a certain loss of flexibility, but also a gain of simplicity. The package name came from the French "Fouille de Données en Master 2 Informatique Décisionnelle".

Copy Link

Version

Install

install.packages('fdm2id')

Monthly Downloads

360

Version

1.0.1

License

GPL-3

Maintainer

Alexandre Blansch<c3><a9>

Last Published

September 4th, 2026

Functions in fdm2id (1.0.1)

MEANSHIFT

MeanShift method
MCA

Multiple Correspondence Analysis (MCA)
LINREG

Linear Regression
LDA

Classification using Linear Discriminant Analysis
KERREG

Kernel Regression
LR

Classification using Logistic Regression
GRADIENTBOOSTING

Classification using Gradient Boosting
KMEANS

K-means method
HCA

Hierarchical Cluster Analysis method
KNN

Classification using k-NN
PCA

Principal Component Analysis (PCA)
MLPREG

Multi-Layer Perceptron Regression
MLP

Classification using Multilayer Perceptron
SOM

Self-Organizing Maps clustering method
PAM

Clustering using K-medoids (PAM)
RANDOMFOREST

Classification using Random Forest
QDA

Classification using Quadratic Discriminant Analysis
POLYREG

Polynomial Regression
SVMl

Classification using Support Vector Machine with a linear kernel
SVMr

Classification using Support Vector Machine with a radial kernel
SVRr

Regression using Support Vector Machine with a radial kernel
TEXTMINING

Text mining
SVRl

Regression using Support Vector Machine with a linear kernel
SVR

Regression using Support Vector Machine
NMF

Non-negative Matrix Factorization
NB

Classification using Naive Bayes
SPECTRAL

Spectral clustering method
STUMP

Classification using one-level decision tree
SVM

Classification using Support Vector Machine
augmentation

Duplicate and add noise to a dataset
SVD

Singular Value Decomposition
autompg

Auto MPG dataset
cartinfo

CART information
cartleafs

Number of Leafs
capitals

Capitals dataset
accident2014

Sample of car accident location in the UK during year 2014.
cartdepth

Depth
TSNE

t-distributed Stochastic Neighbor Embedding
alcohol

Alcohol dataset
check.classes

Check and clean class labels
apriori-class

APRIORI classification model
cda-class

Canonical Disciminant Analysis model
cartnodes

Number of Nodes
cartplot

CART Plot
average.doc

Shared documentation for the 'average' and 'positive' parameters
compare.kappa

Comparison of two sets of clusters, using kappa
cookplot

Plot the Cook's distance of a linear regression model
cookies

Cookies dataset
birth

Birth dataset
compare.jaccard

Comparison of two sets of clusters, using Jaccard index
compare.accuracy

Comparison of two sets of clusters, using accuracy
boosting-class

Boosting methods model
data1

"data1" dataset
confusion

Confusion matrix
data2

"data2" dataset
compare

Comparison of two sets of clusters
britpop

Population and location of 18 major british cities.
beetles

Flea beetles dataset
closegraphics

Close a graphics device
boxclus

Clustering Box Plots
correlated

Correlated variables
cost.curves

Plot Cost Curves
data.target1

Target1 dataset
credit

Credit dataset
data.diag

Square dataset
data.parabol

Parabol dataset
data.twomoons

Two moons dataset
data.gauss

Gaussian mixture dataset
data.xor

XOR dataset
eucalyptus

Eucalyptus dataset
data3

"data3" dataset
evaluation.adjr2

Adjusted R2 evaluation of regression predictions
evaluation.accuracy

Accuracy of classification predictions
em-class

Expectation-Maximization model
distplot

Plot a k-distance graphic
data.target2

Target2 dataset
dataset-class

Training set and test set
evaluation.precision

Precision of classification predictions
evaluation.fmeasure

F-measure
decathlon

Decathlon dataset
dbs-class

DBSCAN model
evaluation.fowlkesmallows

Fowlkes–Mallows index
evaluation.recall

Recall of classification predictions
exportgraphics

Open a graphics device
filter.rules

Filtering a set of rules
factorial-class

Factorial analysis results
evaluation.r2

R2 evaluation of regression predictions
ionosphere

Ionosphere dataset
intern.dunn

Clustering evaluation through Dunn's index
evaluation

Evaluation of classification or regression predictions
evaluation.kappa

Kappa evaluation of classification predictions
evaluation.msep

MSEP evaluation of regression predictions
evaluation.goodness

Goodness
frequentwords

Frequent words
general.rules

Remove redundancy in a set of rules
evaluation.jaccard

Jaccard index
intern.intraclass

Clustering evaluation through intraclass inertia
meanshift-class

MeanShift model
intern.interclass

Clustering evaluation through interclass inertia
getvocab

Extract words and phrases from a corpus
intern

Clustering evaluation through internal criteria
knn-class

K Nearest Neighbours model
leverageplot

Plot the leverage points of a linear regression model
linsep

Linsep dataset
movies

Movies dataset
loadtext

load a text file
ozone

Ozone dataset
kaiser

Kaiser rule
kmeans.getk

Estimation of the number of clusters for K-means
model-class

Generic classification or regression model
plot.som

Plot function for som-class
params-class

Learning Parameters
plotavsp

Plot actual vs. predictions
performance

Performance estimation
plot.selection

Plot a feature selection
plot.factorial

Plot function for factorial-class
predict.em

Predict function for EM
predict.factorial

Projection of new observations into a factorial space
predict.kmeans

Predict function for K-means
predict.hca

Predict function for hierarchical clustering
predict.cda

Model predictions
predict.dbs

Predict function for DBSCAN
plotclus

Generic Plot Method for Clustering
plotcloud

Plot word cloud
predict.som

Predict function for a self-organising map
predict.selection

Model predictions
print.boosting

Print an ensemble model
print.apriori

Print a classification model obtained by APRIORI
predict.pam

Predict function for PAM
predict.model

Model predictions
plot.apriori

Plot function for apriori-class
predict.spectral

Predict function for Spectral clustering
print.cda

Print a canonical discriminant analysis
predict.textmining

Model predictions
plot.cda

Plot function for cda-class
predict.boosting

Model predictions
predict.apriori

Model predictions
print.params

Print tuned method parameters
print.selection

Print a feature selection result
print.meanshift

Print a mean shift clustering
plotzipf

Plot rank versus frequency
plotdata

Advanced plot function
predict.meanshift

Predict function for MeanShift
predict.knn

Model predictions
print.model

Print a classification or regression model
print.knn

Print a K-nearest-neighbours model
print.factorial

Plot function for factorial-class
reg1

reg1 dataset
query.words

Word query
print.dbs

Print a DBSCAN clustering
resplot

Plot the studentized residuals of a linear regression model
print.em

Print an EM clustering
regplot

Plot function for a regression model
reg2

reg2 dataset
print.spectral

Print a spectral clustering
print.som

Print a self-organising map
print.dataset

Print a training/test split
query.docs

Document query
pseudoF

Pseudo-F
selection-class

Feature selection
roc.curves

Plot ROC Curves
snore

Snore dataset
runningtime

Running time
rotation

Rotation
spine

Spine dataset
scatterplot

Clustering Scatter Plots
selectfeatures

Feature selection for classification
treeplot

Dendrogram Plots
exportgraphics.off

Toggle graphic exports
wine

Wine dataset
wheat

Wheat dataset
spectral-class

Spectral clustering model
vowels

Vowels dataset
vectorizer-class

Document vectorization object
som-class

Self-Organizing Maps model
summary.model

Summary of a classification or regression model
textmining-class

Text mining object
titanic

Titanic dataset
vectorize.docs

Document vectorization
temperature

Temperature dataset
vectorize.words

Word vectorization
universite

University dataset
splitdata

Splits a dataset into training set and test set
tune.doc

Shared documentation of the arguments every learning method takes
stability

Clustering evaluation through stability
zoo

Zoo dataset
summary.apriori

Print summary of a classification model obtained by APRIORI
ADABOOST

Classification using AdaBoost
APRIORI

Classification using APRIORI
EM

Expectation-Maximization clustering method
DBSCAN

DBSCAN clustering method
GBREG

Regression using Gradient Boosting
CA

Correspondence Analysis (CA)
CDA

Classification using Canonical Discriminant Analysis
FEATURESELECTION

Classification with Feature selection
CART

Classification using CART
BAGGING

Classification using Bagging