#' Sum Missing Values
#' @author Sven Halvorson
#' @param x a vector, matrix, or data.frame
#' @examples
#' sum_na(c(1, NA, 2, NA, 3, NA))
#' @export
sum_na = function(x){
sum(is.na(x))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.