na_any: Determine if ANY value is NA

Description Usage Arguments Details Value See Also Examples

View source: R/na_any.R

Description

Determines if any of the values of an object is missing

Usage

1
2
3
4
5
6
7
8
9
na_any(x)

## Default S3 method:
na_any(x)

## S3 method for class 'data.frame'
na_any(x)

any_na(x)

Arguments

x

object

Details

Implemented as: .

For data.tables: .

Reports if any column has an NA,

Value

logical

logical

See Also

anyNA
na_all
which_na

Examples

1
2
3
  na_any( 1:10 )           # FALSE
  na_any( c( 1, NA, 3 ) )  # TRUE
  

decisionpatterns/na.actions documentation built on Aug. 25, 2020, 8:04 p.m.