Nothing
#' @export
summary.simul.nfac.prior <- function(object, ...)
{
Kmax <- attr(object, 'Kmax')
comp.freq <- function(x) table(factor(x, levels = 1:Kmax))/length(x)
acc <- lapply(object, '[[', 'acc')
nfac <- lapply(object, '[[', 'nfac')
nfac <- lapply(nfac, comp.freq)
out <- list(nfac = nfac, acc = acc)
class(out) <- 'summary.simul.nfac.prior'
return(out)
}
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.