print.dirichletprocess function

Print the Dirichlet process object

Print the Dirichlet process object

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

## 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