clust.accessors | R Documentation |
Accessors are provided to extract data
, centers
, cluster
,
and membership
slots stored in a clust class.
clustData(object)
## S4 method for signature 'clust'
clustData(object)
clustCenters(object)
## S4 method for signature 'clust'
clustCenters(object)
clustCluster(object)
## S4 method for signature 'clust'
clustCluster(object)
clustMembership(object)
## S4 method for signature 'clust'
clustMembership(object)
object |
|
clustData
returns a data matrix. clustCenters
returns a matrix of
centers. clustCluster
returns an integer vector. clustMembership
returns a matrix of membership, see clust
for details.
Mengjun Wu
clust
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.