Nothing
knitr::opts_chunk$set(echo=FALSE, warning=FALSE, message=FALSE)
mydf <- data.frame(params$quantiles, params$thetaMatrix) colnames(mydf) <- c("quantiles", params$categories) rownames(mydf) <- NULL knitr::kable(mydf)
Define the vector of unknown population proportions as
$$\theta := (\theta_1,\ldots,\theta_k),$$
with $k = r length(params$categories)
$ . We write
$$\theta \sim Dirichlet(a_1,\ldots,a_k),$$
with
$$
f(\theta)=\frac{\Gamma(a_1+\ldots +a_k)}{\Gamma(a_1)\ldots \Gamma(a_k)}\prod_{i=1}^k \theta_i^{a_i-1}.
$$
The fitted parameter values $a_1,\ldots,a_k$ are as follows:
fitDirichlet(params$allFits, categories = params$categories, n.fitted = params$n, silent = TRUE, plotBeta = FALSE)
d <- fitDirichlet(params$allFits, categories = params$categories, n.fitted = params$n)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.