R/tar_missing.R

Defines functions tar_missing

Documented in tar_missing

#' @title Amount of missing data
#' @export
#'
#'
tar_missing <- function(ncmscs_full) {
  (sum(is.na(ncmscs_full)) / prod(dim(ncmscs_full))) * 100
}
awconway/nc-mscs documentation built on Feb. 17, 2021, 10:07 p.m.