R/nonNA_count.R

#' Number of Non_NA Values.
#'
#' Function that returns the number of
#' non-missing values in a sample of data.
#' @param x A vector of numbers.
#' @return A count.
#' @examples
#'nonNA(1:10)
#'
#' @export
nonNA <- function(x){
  sum(!is.na(x))
}
D-Roberts/statiotest documentation built on May 6, 2019, 12:55 p.m.