validate (version 0.9.3)

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

Description

Test if any validation resulted in TRUE

Usage

# S4 method for 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(), plot,validation-method, sort,validation-method, summary(), validation-class, values()

Examples

Run this code
# NOT RUN {
val <- check_that(women, height>60, weight>0)
any(val)
# }

Run the code above in your browser using DataCamp Workspace