Nothing
#' @title Averages out the sufficient statistics T(y)
#' @description Takes a vector of values and returns the column average of their
#' sufficient statistic (determined by their class)
#' @param y vector of values
#' @return A vector with the average of the sufficient statistics
averageT <- function(y) {
Ty <- sufficientT(y)
if (is.null(dim(Ty))) {
out <- mean(Ty)
} else {
out <- colMeans(Ty)
}
}
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.