stts {EMbC} | R Documentation |
Clustering statistics.
Description
stts
clustering statistics information.
Usage
stts(obj, dec = 2, width = 8)
## S4 method for signature 'binClst'
stts(obj, dec = 2, width = 8)
## S4 method for signature 'binClstStck'
stts(obj, dec = 2, width = 8)
Arguments
obj |
Either a binClst_instance or a |
dec |
The number of decimals for mean/stdv formatting. |
width |
The number of digits for mean/stdv formatting. |
Details
This method prints a line for each cluster with the following information: the cluster number, the cluster binary label, the cluster mean and variance of each input feature (two columns for each variable), and the size of the cluster in number and proportion of points (the posterior marginal distribution).
Examples
# -- apply EMbC to the example path with solar covariate 'height'--
mybcp <- stbc(expth,scv='height',info=-1)
# -- show clustering statistics --
stts(mybcp,width=5,dec=1)
## Not run:
# -- show clustering statistics of mybcpstack at stack level --
stts(mybcpstack)
# -- show individual statistics for path number 3 in mybcpstack --
stts(slct(mybcpstack,3))
## End(Not run)
[Package EMbC version 2.0.4 Index]