summary.profBinary: Summarize objects of class 'profBinary'.

Description Usage Arguments Details Value Author(s) See Also

Description

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

Usage

1
2
## S3 method for class 'profBinary'
summary(object, ...)

Arguments

object

an instance of class profBinary

...

additional arguments (not used)

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.

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

Author(s)

Matt Shotwell <matt.shotwell@vanderbilt.edu>

See Also

profBinary


profdpm documentation built on May 2, 2019, 4:56 p.m.