any-validation-method: Test if any validation resulted in TRUE

any,validation-methodR Documentation

Test if any validation resulted in TRUE

Description

Test if any validation resulted in TRUE

Usage

## S4 method for signature 'validation'
any(x, ..., na.rm = FALSE)

Arguments

x

validation object (see confront).

...

ignored

na.rm

[logical] If TRUE, NA values are removed before the result is computed.

See Also

Other validation-methods: aggregate,validation-method, all,validation-method, barplot,validation-method, check_that(), compare(), confront(), event(), names<-,rule,character-method, plot,validation-method, sort,validation-method, summary(), validation-class, values()

Examples

val <- check_that(women, height>60, weight>0)
any(val)

validate documentation built on March 24, 2022, 5:07 p.m.