#' Sum of Squares
#'
#' Calculates the sum of squared deviations from mean
#'
#' @param x numeric vector
#'
#' @return number
#' @export
#'
#' @examples
#' sumsquares(rnorm(50))
sumsquares <- function(x){
sum((mean(x))^2)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.