stts | R Documentation |
stts
clustering statistics information.
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)
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. |
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).
# -- 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.