PosteriorFunction | R Documentation |
Generate the posterior function of the Dirichlet function
PosteriorFunction(dpobj, ind)
dpobj |
Fitted Dirichlet Process object |
ind |
What iteration to draw the posterior function from. Defaults to the last iteration. |
A posterior function f(x).
y <- rnorm(10)
dp <- DirichletProcessGaussian(y)
dp <- Fit(dp, 5)
postFuncDraw <- PosteriorFunction(dp)
plot(-3:3, postFuncDraw(-3:3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.