Learn R Programming

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

fpc (version 2.0-3)

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. Clusterwise cluster stability assessment. Methods for estimation of the number of clusters: Calinski-Harabasz, Tibshirani and Walther's prediction strength. Gaussian/multinomial mixture fitting for mixed continuous/categorical variables. Veriablewise 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. Note that the use of the package mclust (called by function prabclust) is protected by a special license, see http://www.stat.washington.edu/mclust/license.txt. For an overview see package?fpc.

Copy Link

Version

Install

install.packages('fpc')

Monthly Downloads

21,008

Version

2.0-3

License

GPL

Maintainer

Christian Hennig

Last Published

November 19th, 2010

Functions in fpc (2.0-3)

jittervar

Jitter variables in a data matrix
fpclusters

Extracting clusters from fixed point cluster objects
dridgeline

Density along the ridgeline
dip.pvalue

Approximates p-value for dip test
prediction.strength

Prediction strength for estimating number of clusters
plotcluster

Discriminant projection plot.
lcmixed

flexmix method for mixed Gaussian/multinomial mixtures
tdecomp

Root of singularity-corrected eigenvalue decomposition
adcoord

Asymmetric discriminant coordinates
cluster.stats

Cluster validation statistics
batcoord

Bhattacharyya discriminant projection
bhattacharyya.matrix

Matrix of pairwise Bhattacharyya distances
diptest.multi

Diptest for discriminant coordinate projection
sseg

Position in a similarity vector
flexmixedruns

Fitting mixed Gaussian/multinomial mixtures with flexmix
tonedata

Tone perception data
mergenormals

Clustering by merging Gaussian mixture components
clusexpect

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

Mahalanobis fixed point clusters initial configuration
cmahal

Generation of tuning constant for Mahalanobis fixed point clusters.
clusterboot

Clusterwise cluster stability assessment by resampling
discrete.recode

Recodes mixed variables dataset
itnumber

Number of regression fixed point cluster iterations
awcoord

Asymmetric weighted discriminant coordinates
mixdens

Density of multivariate Gaussian mixture, mclust parameterisation
extract.mixturepars

Extract parameters for certain components from mclust
mvdcoord

Mean/variance differences discriminant coordinates
ncoord

Neighborhood based discriminant coordinates
pamk

Partitioning around medoids with estimation of number of clusters
ancoord

Asymmetric neighborhood based discriminant coordinates
randconf

Generate a sample indicator vector
calinhara

Calinski-Harabasz index
bhattacharyya.dist

Bhattacharyya distance between Gaussian distributions
cluster.varstats

Variablewise statistics for clusters
kmeansruns

k-means with estimating k and initialisations
cat2bin

Recode nominal variables to binary variables
clujaccard

Jaccard similarity between logical vectors
cov.wml

Weighted Covariance Matrices (Maximum Likelihood)
discrproj

Linear dimension reduction for classification
mergeparameters

New parameters from merging two Gaussian mixture components
con.comp

Connectivity components of an undirected graph
zmisclassification.matrix

Matrix of misclassification probabilities between mixture components
wfu

Weight function (for Mahalabobis distances)
simmatrix

Extracting intersections between clusters from fpc-object
unimodal.ind

Is a fitted denisity unimodal or not?
piridge.zeroes

Extrema of two-component Gaussian mixture
ridgeline

Ridgeline computation
regmix

Mixture Model ML for Clusterwise Linear Regression
fixmahal

Mahalanobis Fixed Point Clusters
solvecov

Inversion of (possibly singular) symmetric matrices
mahalanodisc

Mahalanobis for AWC
distancefactor

Factor for dissimilarity of mixed type data
clucols

Sets of colours and symbols for cluster plotting
weightplots

Ordered posterior plots
mahalanofix

Mahalanobis distances from center of indexed points
fixreg

Linear Regression Fixed Point Clusters
mixpredictive

Prediction strength of merged Gaussian mixture
can

Generation of the tuning constant for regression fixed point clusters
discrcoord

Discriminant coordinates/canonical variates
kmeansCBI

Interface functions for clustering methods
cweight

Weight function for AWC
ridgeline.diagnosis

Ridgeline plots, ratios and unimodality
minsize

Minimum size of regression fixed point cluster
rFace

"Face-shaped" clustered benchmark datasets
confusion

Misclassification probabilities in mixtures
dbscan

DBSCAN density reachability and connectivity clustering
dipp.tantrum

Simulates p-value for dip test
fpc-package

fpc package overview
piridge

Ridgeline Pi-function
dudahart2

Duda-Hart test for splitting
randcmatrix

Random partition matrix