Add burn-in to a dirichletprocess object

Burn(dpobj, niter)

Arguments

dpobj

A dirichletprocess object.

niter

Number of iterations to burn.

Value

A dirichletprocess object where all chain objects have the first niter iterations are removed.

Examples

burned_dp <- Burn(dp, 50) DiagnosticPlots(burned_dp)