Nothing
#' @import ggplot2
#' @import rstan
#' @import methods
#' @import stats
#' @import graphics
#' @import grDevices
#' @import stats4
colVars <-
function(a){
diff <- a - matrix(colMeans(a), nrow(a), ncol(a), byrow=TRUE)
vars <- colMeans(diff^2)*nrow(a) / (nrow(a) - 1)
return (vars)
}
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.