Description Usage Arguments Value Author(s) See Also Examples
Cluster analysis (of constructs or elements).
cluster
is a preliminary implementation of a cluster function.
It supports
various distance measures as well as cluster methods. More is to come.
1 2 3 |
x |
|
along |
Along which dimension to cluster. 1 = constructs only, 2= elements only, 0=both (default). |
dmethod |
The distance measure to be used. This must be one of
"euclidean", "maximum", "manhattan", "canberra", "binary"
or "minkowski". Any unambiguous substring can be given.
For additional information on the different types type
|
cmethod |
The agglomeration method to be used. This should be (an
unambiguous abbreviation of) one of |
p |
The power of the Minkowski distance, in case |
trim |
the number of characters a construct is trimmed to (default is
|
main |
Title of plot. The default is a name indicating the distance function and cluster method. |
mar |
Define the plot region (bottom, left, upper, right). |
cex |
Size parameter for the nodes. Usually not needed. |
lab.cex |
Size parameter for the constructs on the right side. |
cex.main |
Size parameter for the plot title (default is |
print |
Logical. Wether to print the dendrogram (default is |
... |
Additional parameters to be passed to plotting function from
|
Reordered repgrid
object.
Mark Heckmann
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
cluster(bell2010)
cluster(bell2010, main="My cluster analysis") # new title
cluster(bell2010, type="t") # different drawing style
cluster(bell2010, dmethod="manhattan") # using manhattan metric
cluster(bell2010, cmethod="single") # do single linkage clustering
cluster(bell2010, cex=1, lab.cex=1) # change appearance
cluster(bell2010, lab.cex=.7, # advanced appearance changes
edgePar = list(lty=1:2, col=2:1))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.