prabclust-solutions
is more convincing due to higher flexibility of that method. However,
hprabclust may be more stable sometimes.
Note: Data formats are described
on the prabinit help page. You may also consider the example datasets
kykladspecreg.dat and nb.dat. Take care of the
parameter rows.are.species of prabinit.hprabclust(prabobj, cutdist=0.4, cutout=1,
method="average", nnout=2, mdsplot=TRUE, mdsmethod="classical")## S3 method for class 'comprabclust':
print(x, ...)
prab as
generated by prabinit. Presence-absence data to be analyzed.cutree.nnout distances smaller or equal than cutout are
treated as noise.hclust.nnout points or that have less or equal than
nnout neighbors closer than cutout are treated as noise.TRUE, the cluster solution is
plotted on the first two MDS dimensions, see mdsmethod."classical", "kruskal", or
"sammon". The MDS method
to transform the distances to data points. "classical" indicates
metric MDS by function cmdscale, "kruskal" is
comprabclust-object as generated by hprabclus.hprabclust generates an object of class comprabclust. This is a
list with componentscutout-outliers are noise, but small clusters
are allowed). Noise is coded as 0.nnout.
Noise is coded as 0.cutout-outliers.rclustering, but
estimated noise by "N".mdsplot=TRUE).hclust, cutree,
prabclust.data(kykladspecreg)
data(nb)
data(waterdist)
x <- prabinit(prabmatrix=kykladspecreg, neighborhood=nb,
geodist=waterdist, distance="geco")
hprabclust(x,mdsplot=FALSE)Run the code above in your browser using DataLab