as.agnes {nomclust} | R Documentation |
Convert Objects to Class agnes, twins
Description
Converts objects of the class "nomclust" to the class "agnes, twins".
Usage
as.agnes(x, ...)
Arguments
x |
The "nomclust" object containing components "dend" and "prox". |
... |
Further arguments passed to or from other methods. |
Value
The function returns an object of class "agnes, twins".
Author(s)
Zdenek Sulc.
Contact: zdenek.sulc@vse.cz
See Also
Examples
# sample data
data(data20)
# creating an object with results of hierarchical clustering of
hca.object <- nomclust(data20, measure = "lin", method = "average",
clu.high = 5, prox = TRUE)
# nomclust plot
plot(hca.object)
# obtaining the agnes, twins object
hca.object.agnes <- as.agnes(hca.object)
# agnes plot
plot(hca.object.agnes)
# obtaining the hclust object
hca.object.hclust <- as.hclust(hca.object)
# hclust plot
plot(hca.object.hclust)
[Package nomclust version 2.8.0 Index]