Learn R Programming

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

fpc (version 2.0-1)

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.

Copy Link

Version

Install

install.packages('fpc')

Monthly Downloads

21,008

Version

2.0-1

License

GPL

Maintainer

Christian Hennig

Last Published

August 10th, 2010

Functions in fpc (2.0-1)

clusexpect

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

Interface functions for clustering methods
dudahart2

Duda-Hart test for splitting
minsize

Minimum size of regression fixed point cluster
cat2bin

Recode nominal variables to binary variables
mixpredictive

Prediction strength of merged Gaussian mixture
clusterboot

Clusterwise cluster stability assessment by resampling
plotcluster

Discriminant projection plot.
confusion

Misclassification probabilities in mixtures
cweight

Weight function for AWC
dipp.tantrum

Simulates p-value for dip test
bhattacharyya.matrix

Matrix of pairwise Bhattacharyya distances
batcoord

Bhattacharyya discriminant projection
adcoord

Asymmetric discriminant coordinates
ncoord

Neighborhood based discriminant coordinates
dridgeline

Density along the ridgeline
clucols

Sets of colours and symbold for cluster plotting
piridge.zeroes

Extrema of two-component Gaussian mixture
fpclusters

Extracting clusters from fixed point cluster objects
tonedata

Tone perception data
fixmahal

Mahalanobis Fixed Point Clusters
cmahal

Generation of tuning constant for Mahalanobis fixed point clusters.
mahalanodisc

Mahalanobis for AWC
randconf

Generate a sample indicator vector
dip.pvalue

Approximates p-value for dip test
mixdens

Density of multivariate Gaussian mixture, mclust parameterisation
kmeansruns

k-means with estimating k and initialisations
prediction.strength

Prediction strength for estimating number of clusters
piridge

Ridgeline Pi-function
diptest.multi

Diptest for discriminant coordinate projection
cluster.stats

Cluster validation statistics
clujaccard

Jaccard similarity between logical vectors
ridgeline.diagnosis

Ridgeline plots, ratios and unimodality
solvecov

Inversion of (possibly singular) symmetric matrices
cov.wml

Weighted Covariance Matrices (Maximum Likelihood)
mahalanofix

Mahalanobis distances from center of indexed points
discrcoord

Discriminant coordinates/canonical variates
simmatrix

Extracting intersections between clusters from fpc-object
mahalconf

Mahalanobis fixed point clusters initial configuration
pamk

Partitioning around medoids with estimation of number of clusters
regmix

Mixture Model ML for Clusterwise Linear Regression
calinhara

Calinski-Harabasz index
discrete.recode

Recodes mixed variables dataset
lcmixed

flexmix method for mixed Gaussian/multinomial mixtures
mergeparameters

New parameters from merging two Gaussian mixture components
extract.mixturepars

Extract parameters for certain components from mclust
ridgeline

Ridgeline computation
awcoord

Asymmetric weighted discriminant coordinates
tdecomp

Root of singularity-corrected eigenvalue decomposition
unimodal.ind

Is a fitted denisity unimodal or not?
can

Generation of the tuning constant for regression fixed point clusters
bhattacharyya.dist

Bhattacharyya distance between Gaussian distributions
ancoord

Asymmetric neighborhood based discriminant coordinates
discrproj

Linear dimension reduction for classification
randcmatrix

Random partition matrix
rFace

"Face-shaped" clustered benchmark datasets
zmisclassification.matrix

Matrix of misclassification probabilities between mixture components
mvdcoord

Mean/variance differences discriminant coordinates
flexmixedruns

Fitting mixed Gaussian/multinomial mixtures with flexmix
cluster.varstats

Variablewise statistics for clusters
distancefactor

Factor for dissimilarity of mixed type data
dbscan

DBSCAN density reachability and connectivity clustering
mergenormals

Clustering by merging Gaussian mixture components
con.comp

Connectivity components of an undirected graph
sseg

Position in a similarity vector
itnumber

Number of regression fixed point cluster iterations
fixreg

Linear Regression Fixed Point Clusters
wfu

Weight function (for Mahalabobis distances)
weightplots

Ordered posterior plots
jittervar

Jitter variables in a data matrix