HasNA: Calculates the number of NA entries in a vector x

Description Usage Arguments Value Examples

View source: R/HandyUtilities.R

Description

Calculates the number of NA entries in a vector x

Usage

1
HasNA(x)

Arguments

x

- a vector of numeric values, potentially with some NAs

Value

sum of NA entries in x

Examples

1
HasNA(c(3,4,NA,8))

miepstei/MetabolonR documentation built on May 22, 2019, 10:50 p.m.