print.dirichletprocess: Print the Dirichlet process object

Description Usage Arguments Examples

View source: R/print.R

Description

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

Usage

1
2
3
## 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

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

dirichletprocess documentation built on July 2, 2020, 2 a.m.