#' Directly get sum of square of a vector
#' @export
sumofsquare = function(vector){
result <- sum( (vector - mean(vector) )^2 )
return(result)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.