print.dirichletprocess: Print the Dirichlet process object

View source: R/print.R

print.dirichletprocessR Documentation

Print the Dirichlet process object

Description

Print a Dirichlet process object. This will print some basic information about the dirichletprocess object.

Usage

## S3 method for class 'dirichletprocess'
print(x, param_summary = FALSE, digits = 2, ...)

Arguments

x

Dirichlet Process Object to print.

param_summary

If TRUE, print the overall averages of each parameter of the model. Note that this averages over all clusters and over all iterations, so it will only give a loose sense of the resulting DPM model.

digits

Integer; Number of digits to display.

...

Further arguments passed to or from other methods.

Examples

dp <- Fit(DirichletProcessGaussian(rnorm(10)), 100)
dp


dirichletprocess documentation built on Aug. 25, 2023, 5:19 p.m.