fpc: Flexible Procedures for Clustering

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.

Install the latest version of this package by entering the following in R:
install.packages("fpc")
AuthorChristian Hennig <c.hennig@ucl.ac.uk>
Date of publication2015-08-14 08:27:19
MaintainerChristian Hennig <c.hennig@ucl.ac.uk>
LicenseGPL
Version2.1-10
http://www.homepages.ucl.ac.uk/~ucakche/

View on CRAN

Man pages

adcoord: Asymmetric discriminant coordinates

ancoord: Asymmetric neighborhood based discriminant coordinates

awcoord: Asymmetric weighted discriminant coordinates

batcoord: Bhattacharyya discriminant projection

bhattacharyya.dist: Bhattacharyya distance between Gaussian distributions

bhattacharyya.matrix: Matrix of pairwise Bhattacharyya distances

calinhara: Calinski-Harabasz index

can: Generation of the tuning constant for regression fixed point...

cat2bin: Recode nominal variables to binary variables

classifdist: Classification of unclustered points

clucols: Sets of colours and symbols for cluster plotting

clujaccard: Jaccard similarity between logical vectors

clusexpect: Expected value of the number of times a fixed point cluster...

clusterboot: Clusterwise cluster stability assessment by resampling

cluster.stats: Cluster validation statistics

cluster.varstats: Variablewise statistics for clusters

cmahal: Generation of tuning constant for Mahalanobis fixed point...

concomp: Connectivity components of an undirected graph

confusion: Misclassification probabilities in mixtures

cov.wml: Weighted Covariance Matrices (Maximum Likelihood)

cweight: Weight function for AWC

dbscan: DBSCAN density reachability and connectivity clustering

dipp.tantrum: Simulates p-value for dip test

diptest.multi: Diptest for discriminant coordinate projection

discrcoord: Discriminant coordinates/canonical variates

discrete.recode: Recodes mixed variables dataset

discrproj: Linear dimension reduction for classification

distancefactor: Factor for dissimilarity of mixed type data

distcritmulti: Distance based validity criteria for large data sets

dridgeline: Density along the ridgeline

dudahart2: Duda-Hart test for splitting

extract.mixturepars: Extract parameters for certain components from mclust

fixmahal: Mahalanobis Fixed Point Clusters

fixreg: Linear Regression Fixed Point Clusters

flexmixedruns: Fitting mixed Gaussian/multinomial mixtures with flexmix

fpclusters: Extracting clusters from fixed point cluster objects

fpc-package: fpc package overview

itnumber: Number of regression fixed point cluster iterations

jittervar: Jitter variables in a data matrix

kmeansCBI: Interface functions for clustering methods

kmeansruns: k-means with estimating k and initialisations

lcmixed: flexmix method for mixed Gaussian/multinomial mixtures

localshape: Local shape matrix

mahalanodisc: Mahalanobis for AWC

mahalanofix: Mahalanobis distances from center of indexed points

mahalconf: Mahalanobis fixed point clusters initial configuration

mergenormals: Clustering by merging Gaussian mixture components

mergeparameters: New parameters from merging two Gaussian mixture components

minsize: Minimum size of regression fixed point cluster

mixdens: Density of multivariate Gaussian mixture, mclust...

mixpredictive: Prediction strength of merged Gaussian mixture

mvdcoord: Mean/variance differences discriminant coordinates

ncoord: Neighborhood based discriminant coordinates

nselectboot: Selection of the number of clusters via bootstrap

pamk: Partitioning around medoids with estimation of number of...

piridge: Ridgeline Pi-function

piridge.zeroes: Extrema of two-component Gaussian mixture

plotcluster: Discriminant projection plot.

prediction.strength: Prediction strength for estimating number of clusters

randcmatrix: Random partition matrix

randconf: Generate a sample indicator vector

regmix: Mixture Model ML for Clusterwise Linear Regression

rFace: "Face-shaped" clustered benchmark datasets

ridgeline: Ridgeline computation

ridgeline.diagnosis: Ridgeline plots, ratios and unimodality

simmatrix: Extracting intersections between clusters from fpc-object

solvecov: Inversion of (possibly singular) symmetric matrices

sseg: Position in a similarity vector

tdecomp: Root of singularity-corrected eigenvalue decomposition

tonedata: Tone perception data

unimodal.ind: Is a fitted denisity unimodal or not?

weightplots: Ordered posterior plots

wfu: Weight function (for Mahalabobis distances)

zmisclassification.matrix: Matrix of misclassification probabilities between mixture...

Functions

adcoord Man page
ancoord Man page
awcoord Man page
batcoord Man page
batvarcoord Man page
bhattacharyya.dist Man page
bhattacharyya.matrix Man page
calinhara Man page
can Man page
cat2bin Man page
claraCBI Man page
classifdist Man page
classifnp Man page
clucols Man page
clugrey Man page
clujaccard Man page
clusexpect Man page
clusterboot Man page
cluster.stats Man page
cluster.varstats Man page
clusym Man page
cmahal Man page
con.comp Man page
confusion Man page
cov.wml Man page
cweight Man page
dbscan Man page
dbscanCBI Man page
dipp.tantrum Man page
diptest.multi Man page
discrcoord Man page
discrete.recode Man page
discrproj Man page
distancefactor Man page
distcritmulti Man page
disthclustCBI Man page
disthclusttreeCBI Man page
distnoisemclustCBI Man page
disttrimkmeansCBI Man page
dridgeline Man page
dudahart2 Man page
extract.mixturepars Man page
fixmahal Man page
fixreg Man page
flexmixedruns Man page
fpclusters Man page
fpclusters.mfpc Man page
fpclusters.rfpc Man page
fpc-package Man page
fpmi Man page
hclustCBI Man page
hclusttreeCBI Man page
itnumber Man page
jittervar Man page
kmeansCBI Man page
kmeansruns Man page
lcmixed Man page
localshape Man page
mahalanodisc Man page
mahalanofix Man page
mahalanofuz Man page
mahalCBI Man page
mahalconf Man page
mergenormals Man page
mergenormCBI Man page
mergeparameters Man page
minsize Man page
mixdens Man page
mixpredictive Man page
mvdcoord Man page
ncoord Man page
noisemclustCBI Man page
nselectboot Man page
pamk Man page
pamkCBI Man page
piridge Man page
piridge.zeroes Man page
plot.clboot Man page
plotcluster Man page
plot.dbscan Man page
plot.mfpc Man page
plot.rfpc Man page
predict.dbscan Man page
prediction.strength Man page
print.clboot Man page
print.dbscan Man page
print.mfpc Man page
print.predstr Man page
print.rfpc Man page
print.summary.mergenorm Man page
print.summary.mfpc Man page
print.summary.rfpc Man page
print.varwisetables Man page
randcmatrix Man page
randconf Man page
regem Man page
regmix Man page
rFace Man page
rfpi Man page
ridgeline Man page
ridgeline.diagnosis Man page
simmatrix Man page
solvecov Man page
speccCBI Man page
sseg Man page
summary.mergenorm Man page
summary.mfpc Man page
summary.rfpc Man page
tclustCBI Man page
tdecomp Man page
tonedata Man page
trimkmeansCBI Man page
unimodal.ind Man page
weightplots Man page
wfu Man page
zmisclassification.matrix Man page

Files

tests
tests/Examples
tests/Examples/fpc-Ex.Rout.save
tests/fpctests.Rout.save
tests/fpctests.R
NAMESPACE
data
data/tonedata.txt.gz
R
R/dbscan.R R/addclustermethods.R R/mergenormals.R R/localshape.R R/clusterboot.R R/fpc.R R/discrproj.R R/rFace.R R/discrproj2.R R/lcmixed.R R/fixreg.R R/regmix.R
MD5
DESCRIPTION
man
man/clucols.Rd man/ncoord.Rd man/zmisclassification.matrix.Rd man/unimodal.ind.Rd man/classifdist.Rd man/ridgeline.Rd man/extract.mixturepars.Rd man/ridgeline.diagnosis.Rd man/bhattacharyya.matrix.Rd man/kmeansCBI.Rd man/randconf.Rd man/nselectboot.Rd man/discrcoord.Rd man/flexmixedruns.Rd man/cluster.varstats.Rd man/dipp.tantrum.Rd man/dudahart2.Rd man/plotcluster.Rd man/dridgeline.Rd man/confusion.Rd man/sseg.Rd man/distancefactor.Rd man/mergenormals.Rd man/concomp.Rd man/rFace.Rd man/mixpredictive.Rd man/discrproj.Rd man/dbscan.Rd man/cat2bin.Rd man/fixreg.Rd man/adcoord.Rd man/tonedata.Rd man/wfu.Rd man/discrete.recode.Rd man/calinhara.Rd man/tdecomp.Rd man/cweight.Rd man/localshape.Rd man/batcoord.Rd man/lcmixed.Rd man/mahalconf.Rd man/clusterboot.Rd man/piridge.zeroes.Rd man/kmeansruns.Rd man/fixmahal.Rd man/minsize.Rd man/bhattacharyya.dist.Rd man/pamk.Rd man/weightplots.Rd man/cov.wml.Rd man/simmatrix.Rd man/randcmatrix.Rd man/piridge.Rd man/diptest.multi.Rd man/ancoord.Rd man/mahalanofix.Rd man/distcritmulti.Rd man/jittervar.Rd man/clujaccard.Rd man/fpclusters.Rd man/prediction.strength.Rd man/fpc-package.Rd man/mixdens.Rd man/cluster.stats.Rd man/mergeparameters.Rd man/mahalanodisc.Rd man/can.Rd man/clusexpect.Rd man/cmahal.Rd man/itnumber.Rd man/mvdcoord.Rd man/solvecov.Rd man/awcoord.Rd man/regmix.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.