hprabclust {prabclus} | R Documentation |
Clustering of species ranges from presence-absence matrices (hierarchical methods)
Description
Clusters a presence-absence matrix object by taking the
'h-cut'-partition of a hierarchical clustering and
declaring all members of too small clusters as 'noise' (this gives a
distance-based clustering method, which estimates the number of
clusters and allows for noise/non-clustered points). Note that this
is experimental. Often, the 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
.
Usage
hprabclust(prabobj, cutdist=0.4, cutout=1,
method="average", nnout=2, mdsplot=TRUE, mdsmethod="classical")
## S3 method for class 'comprabclust'
print(x, ...)
Arguments
prabobj |
object of class |
cutdist |
non-negative integer. Cutoff distance to determine the
partition, see |
cutout |
non-negative integer. Points that have at most
|
method |
string. Clustering method, see |
nnout |
non-negative integer. Members of clusters with less or
equal than |
mdsplot |
logical. If |
mdsmethod |
|
x |
|
... |
necessary for print method. |
Value
hprabclust
generates an object of class comprabclust
. This is a
list with components
clustering |
vector of integers indicating the cluster memberships of
the species ( |
rclustering |
vector of integers indicating the cluster memberships of
the species, noise as described under |
cutdist |
see above. |
method |
see above. |
cutout |
see above. |
nnout |
see above. |
noisen |
number of points minus |
symbols |
vector of characters corresponding to |
points |
numerical matrix. MDS configuration (if |
call |
function call. |
Author(s)
Christian Hennig christian.hennig@unibo.it https://www.unibo.it/sitoweb/christian.hennig/en
See Also
Examples
data(kykladspecreg)
data(nb)
data(waterdist)
x <- prabinit(prabmatrix=kykladspecreg, neighborhood=nb,
geodist=waterdist, distance="geco")
hprabclust(x,mdsplot=FALSE)