R/percent_miss.R

#' Percent Missing Function
#' 
#' This function calculates the percentage of a vector that is NA
#' @keywords missing
#' @export
#' @examples 
#' percentmiss()

percentmiss = function(x){ sum(is.na(x))/length(x) *100 }

#document()
npm27/domo documentation built on July 2, 2019, 11:09 p.m.