Calculate the posterior mean and quantiles from a Dirichlet process object.
PosteriorFrame(dpobj, xgrid, ndraws = 1000, ci_size = 0.1)
A dataframe consisting of the posterior mean and credible intervals.
The Dirichlet process object to be drawn from.
The x values the posterior is to be evaluated at.
The number of posterior draws to take.
The size of the credible interval draw in terms of percentage.