#' Count all NA values in a list or vector
#'
#' Count NAs in a list or vector
#'
#' @param x Vector or list where to counts NAs
#' @keywords dateFormat
#' @export
countNAs <- function(x){
n <- which(is.na(x)) %>% length
return(n)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.