Learn R Programming

Description

This R package is dedicated to the clustering of variables. Variables can be quantitative, qualitative or a mixture of both. It provides hierarchichal and k-means clustering of a set of variables. The center of a cluster of variables is a synthetic variable but is not a ’mean’ as for classical k-means or Ward clustering. This synthetic variable is the first principal component calculated by PCAmix. The homogeneity of a cluster of variables is defined as the sum of the correlation ratio (for qualitative variables) and the squared correlation (for quantitative variables) between the variables and the center of the cluster, which is in all cases a numerical variable. This package deals with datasets of thousands of variables like gene expression data and can also be used for dimension reduction purpose.

Install

To install the current development version from github, use :

devtools::install_github("chavent/ClustOfVar")
# This needs the devtools package to be installed :
# install.packages("devtools")

Copy Link

Version

Install

install.packages('ClustOfVar')

Monthly Downloads

723

Version

1.1

License

GPL (>= 2.0)

Maintainer

Last Published

August 12th, 2017

Functions in ClustOfVar (1.1)

decathlon

Performance in decathlon (data)
descript

Description of a partition of variables
hclustvar

Hierarchical clustering of variables
kmeansvar

k-means clustering of variables
protein

Protein data
rand

Rand index between two partitions
dogs

Breeds of Dogs data
flower

Flower Characteristics
print.clustvar

Print an object of class clustvar
print.hclustvar

Print a 'hclustvar' object
getnnsvar

Nearest neighbor of variables
gironde

gironde
plot.clustvar

Plot loadings in each cluster.
plot.hclustvar

Dendrogram of the hierarchy of variables
bootvar

Bootstrap of individuals on a numeric matrix and on a categorical matrix
clust_diss

Calculates the aggregation criterion for two clusters of variables
stability

Stability of partitions from a hierarchy of variables
summary.clustab

Summary of a 'clustab' object
clusterscore

Calculates de synthetic variable of a cluster
cutreevar

Cut a tree into groups of variables
summary.clustvar

Summary of a 'hclustvar' object
vnf

User satisfaction survey with 1232 individuals and 14 questions
mixedVarSim

Similarity between two variables
plot.clustab

Plot of an index of stability of partitions of variables
predict.clustvar

Scores of new objects on the synthetic variables of a given partition
print.clustab

Print a 'clustab' object
wine

Wine