flexbeta {optpart}R Documentation

Calculate a Flexible-Beta Dendrogram

Description

Calculates Lance and Williams flexible-beta dendrogram with simplified argument

Usage

flexbeta(dis,beta=-0.25,alpha=(1-beta)/2,gamma=0)

Arguments

dis

a distance or dissimilarity object of class ‘dist’

beta

the Beta coefficient

alpha

the Alpha coefficients (assumed equal)

gamma

the gamma coefficient

Details

Calculates a flexible-beta dendrogram from a dissimilarity matrix specifying minimum parameters. The routine is simply a wrapper for the agnes function from package cluster with suitable arguments specified to achieve desired results. Ecologist in particular (but many others) find beta = -0.25 a good default.

Value

An object of class ‘hclust’ for plotting and analysis like other hclust objects, as compared to objects of class ‘agnes’ as generated by the agnes function in package cluster.

Author(s)

for the agnes function, Peter Rousseeuw for the original Fortran, Martin Maechler for the R code

for this function, David W. Roberts droberts@montana.edu

References

Lance, G.N., and W.T. Williams (1966). A General Theory of Classifactory Sorting Strategies, I. Hierarchical Systems. Computer J. *9*, 373-380.

See Also

agnes

Examples

data(shoshveg)
dis.bc <- dsvdis(shoshveg,'bray')
flexb <- flexbeta(dis.bc)

[Package optpart version 3.0-3 Index]