R/print.collpcm.R

Defines functions print.collpcm

Documented in print.collpcm

print.collpcm <- function( x, ... )
{
	#print the MCMC run
	cat("\nSummary of the collapsed LPCM MCMC run:\n")
	if( x$call$control$model.search ){
		cat("\nPosterior for the number of groups:\n")
		xx <- x$Gpost
		print(x$Gpost,type="html")
	}else{
		cat("\nFitted a model with ", x$call$control$G , " groups\n")
	}
	
	cat("\n")

}

Try the collpcm package in your browser

Any scripts or data that you put into this service are public.

collpcm documentation built on July 14, 2021, 1:05 a.m.