Learn R Programming

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

fpc (version 2.1-10)

Flexible Procedures for Clustering

Description

Various methods for clustering and cluster validation. Fixed point clustering. Linear regression clustering. Clustering by merging Gaussian mixture components. Symmetric and asymmetric discriminant projections for visualisation of the separation of groupings. Cluster validation statistics for distance based clustering including corrected Rand index. Cluster-wise cluster stability assessment. Methods for estimation of the number of clusters: Calinski-Harabasz, Tibshirani and Walther's prediction strength, Fang and Wang's bootstrap stability. Gaussian/multinomial mixture fitting for mixed continuous/categorical variables. Variable-wise statistics for cluster interpretation. DBSCAN clustering. Interface functions for many clustering methods implemented in R, including estimating the number of clusters with kmeans, pam and clara. Modality diagnosis for Gaussian mixtures. For an overview see package?fpc.

Copy Link

Version

Install

install.packages('fpc')

Monthly Downloads

22,702

Version

2.1-10

License

GPL

Last Published

August 14th, 2015

Functions in fpc (2.1-10)

clusexpect

Expected value of the number of times a fixed point cluster is found
mixdens

Density of multivariate Gaussian mixture, mclust parameterisation
adcoord

Asymmetric discriminant coordinates
flexmixedruns

Fitting mixed Gaussian/multinomial mixtures with flexmix
kmeansruns

k-means with estimating k and initialisations
piridge

Ridgeline Pi-function
pamk

Partitioning around medoids with estimation of number of clusters
plotcluster

Discriminant projection plot.
mergeparameters

New parameters from merging two Gaussian mixture components
mergenormals

Clustering by merging Gaussian mixture components
randcmatrix

Random partition matrix
cov.wml

Weighted Covariance Matrices (Maximum Likelihood)
cat2bin

Recode nominal variables to binary variables
mahalanofix

Mahalanobis distances from center of indexed points
ancoord

Asymmetric neighborhood based discriminant coordinates
con.comp

Connectivity components of an undirected graph
discrproj

Linear dimension reduction for classification
discrete.recode

Recodes mixed variables dataset
piridge.zeroes

Extrema of two-component Gaussian mixture
dridgeline

Density along the ridgeline
calinhara

Calinski-Harabasz index
diptest.multi

Diptest for discriminant coordinate projection
batcoord

Bhattacharyya discriminant projection
cweight

Weight function for AWC
cluster.stats

Cluster validation statistics
itnumber

Number of regression fixed point cluster iterations
discrcoord

Discriminant coordinates/canonical variates
wfu

Weight function (for Mahalabobis distances)
ridgeline.diagnosis

Ridgeline plots, ratios and unimodality
lcmixed

flexmix method for mixed Gaussian/multinomial mixtures
dudahart2

Duda-Hart test for splitting
extract.mixturepars

Extract parameters for certain components from mclust
nselectboot

Selection of the number of clusters via bootstrap
sseg

Position in a similarity vector
jittervar

Jitter variables in a data matrix
can

Generation of the tuning constant for regression fixed point clusters
fixmahal

Mahalanobis Fixed Point Clusters
unimodal.ind

Is a fitted denisity unimodal or not?
kmeansCBI

Interface functions for clustering methods
fpc-package

fpc package overview
cluster.varstats

Variablewise statistics for clusters
mvdcoord

Mean/variance differences discriminant coordinates
rFace

"Face-shaped" clustered benchmark datasets
mahalconf

Mahalanobis fixed point clusters initial configuration
prediction.strength

Prediction strength for estimating number of clusters
tonedata

Tone perception data
simmatrix

Extracting intersections between clusters from fpc-object
bhattacharyya.matrix

Matrix of pairwise Bhattacharyya distances
confusion

Misclassification probabilities in mixtures
weightplots

Ordered posterior plots
cmahal

Generation of tuning constant for Mahalanobis fixed point clusters.
zmisclassification.matrix

Matrix of misclassification probabilities between mixture components
distcritmulti

Distance based validity criteria for large data sets
mahalanodisc

Mahalanobis for AWC
awcoord

Asymmetric weighted discriminant coordinates
dipp.tantrum

Simulates p-value for dip test
minsize

Minimum size of regression fixed point cluster
clucols

Sets of colours and symbols for cluster plotting
fixreg

Linear Regression Fixed Point Clusters
fpclusters

Extracting clusters from fixed point cluster objects
mixpredictive

Prediction strength of merged Gaussian mixture
dbscan

DBSCAN density reachability and connectivity clustering
ridgeline

Ridgeline computation
bhattacharyya.dist

Bhattacharyya distance between Gaussian distributions
randconf

Generate a sample indicator vector
localshape

Local shape matrix
clusterboot

Clusterwise cluster stability assessment by resampling
distancefactor

Factor for dissimilarity of mixed type data
classifdist

Classification of unclustered points
clujaccard

Jaccard similarity between logical vectors
regmix

Mixture Model ML for Clusterwise Linear Regression
ncoord

Neighborhood based discriminant coordinates
tdecomp

Root of singularity-corrected eigenvalue decomposition
solvecov

Inversion of (possibly singular) symmetric matrices