num_na: Calculate the number of missing values

View source: R/homework-1-function.R

num_naR Documentation

Calculate the number of missing values

Description

Return the sum of all the missing values present in its arguments.

Usage

num_na(x)

Arguments

x

an R object to be tested: atomic vectors, lists, pairlists, and NULL.

Value

The sum of the number of the missing values.


Violettttta/bis620 documentation built on Oct. 9, 2022, 10:28 a.m.