Learn R Programming

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

fpc (version 2.0-2)

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 ?fpc-package.

Copy Link

Version

Install

install.packages('fpc')

Monthly Downloads

21,008

Version

2.0-2

License

GPL

Maintainer

Christian Hennig

Last Published

August 18th, 2010

Functions in fpc (2.0-2)

cat2bin

Recode nominal variables to binary variables
discrcoord

Discriminant coordinates/canonical variates
dipp.tantrum

Simulates p-value for dip test
discrete.recode

Recodes mixed variables dataset
dbscan

DBSCAN density reachability and connectivity clustering
distancefactor

Factor for dissimilarity of mixed type data
cmahal

Generation of tuning constant for Mahalanobis fixed point clusters.
fixreg

Linear Regression Fixed Point Clusters
can

Generation of the tuning constant for regression fixed point clusters
randconf

Generate a sample indicator vector
clucols

Sets of colours and symbols for cluster plotting
minsize

Minimum size of regression fixed point cluster
bhattacharyya.matrix

Matrix of pairwise Bhattacharyya distances
bhattacharyya.dist

Bhattacharyya distance between Gaussian distributions
batcoord

Bhattacharyya discriminant projection
extract.mixturepars

Extract parameters for certain components from mclust
clusexpect

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

Clusterwise cluster stability assessment by resampling
lcmixed

flexmix method for mixed Gaussian/multinomial mixtures
ridgeline.diagnosis

Ridgeline plots, ratios and unimodality
kmeansCBI

Interface functions for clustering methods
itnumber

Number of regression fixed point cluster iterations
cluster.stats

Cluster validation statistics
prediction.strength

Prediction strength for estimating number of clusters
mergenormals

Clustering by merging Gaussian mixture components
mixdens

Density of multivariate Gaussian mixture, mclust parameterisation
ancoord

Asymmetric neighborhood based discriminant coordinates
ncoord

Neighborhood based discriminant coordinates
dip.pvalue

Approximates p-value for dip test
sseg

Position in a similarity vector
awcoord

Asymmetric weighted discriminant coordinates
clujaccard

Jaccard similarity between logical vectors
pamk

Partitioning around medoids with estimation of number of clusters
mixpredictive

Prediction strength of merged Gaussian mixture
cluster.varstats

Variablewise statistics for clusters
diptest.multi

Diptest for discriminant coordinate projection
fpclusters

Extracting clusters from fixed point cluster objects
tonedata

Tone perception data
simmatrix

Extracting intersections between clusters from fpc-object
wfu

Weight function (for Mahalabobis distances)
fixmahal

Mahalanobis Fixed Point Clusters
mahalanodisc

Mahalanobis for AWC
confusion

Misclassification probabilities in mixtures
dudahart2

Duda-Hart test for splitting
dridgeline

Density along the ridgeline
calinhara

Calinski-Harabasz index
discrproj

Linear dimension reduction for classification
mahalanofix

Mahalanobis distances from center of indexed points
zmisclassification.matrix

Matrix of misclassification probabilities between mixture components
plotcluster

Discriminant projection plot.
ridgeline

Ridgeline computation
jittervar

Jitter variables in a data matrix
mvdcoord

Mean/variance differences discriminant coordinates
randcmatrix

Random partition matrix
piridge.zeroes

Extrema of two-component Gaussian mixture
piridge

Ridgeline Pi-function
cweight

Weight function for AWC
flexmixedruns

Fitting mixed Gaussian/multinomial mixtures with flexmix
fpc-package

fpc package overview
solvecov

Inversion of (possibly singular) symmetric matrices
regmix

Mixture Model ML for Clusterwise Linear Regression
con.comp

Connectivity components of an undirected graph
cov.wml

Weighted Covariance Matrices (Maximum Likelihood)
adcoord

Asymmetric discriminant coordinates
mahalconf

Mahalanobis fixed point clusters initial configuration
rFace

"Face-shaped" clustered benchmark datasets
tdecomp

Root of singularity-corrected eigenvalue decomposition
unimodal.ind

Is a fitted denisity unimodal or not?
weightplots

Ordered posterior plots
mergeparameters

New parameters from merging two Gaussian mixture components
kmeansruns

k-means with estimating k and initialisations