Nothing
thetaBayes <-
function(cellCounts, priorHyperParam = priorHyperParam){
npprior <- beta_k(priorHyperParam = priorHyperParam,
cellCounts = cellCounts)
B <- npprior$p * npprior$prior
thetak <- (cellCounts + npprior$prior)/(npprior$n + B)
theta0 <- npprior$prior/(npprior$n + B)
ans <- list(thetak = thetak, theta0 = theta0, p = npprior$p)
return(ans)
}
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.