Learn R Programming

profdpm (version 3.3)

summary.profBinary: Summarize objects of class profBinary.

Description

summary.profBinary is an S3 method to summarize objects of the class profBinary.

Usage

"summary"(object, ...)

Arguments

object
an instance of class profBinary
...
additional arguments (not used)

Value

A list of lists, one for each unique cluster, each with the following elements:
groups
The number of observation groups assigned to the corresponding cluster
summary
A data frame containing the estimate and 95% credible limits for each outcome probability

Details

The summary.profBinary function outputs summary information using the cat and print functions. For each unique value of x$clust, the summary.profBinary function outputs the number of observation groups assigned to the corresponding cluster. The estimated outcome probabilities and their 95% credible intervals are also printed for each cluster. The 95% credible intervals are computed using the marginal posterior distribution, conditional on the estimated data partition. See the package vignette for additional information.

References

Matthew S. Shotwell (2013). profdpm: An R Package for MAP Estimation in a Class of Conjugate Product Partition Models. Journal of Statistical Software, 53(8), 1-18. URL http://www.jstatsoft.org/v53/i08/.

See Also

profBinary