Learn R Programming

validate (version 1.1.5)

+,validator,validator-method: Combine two validator objects

Description

Combine two validator objects by addition. A new validator object is created with default (global) option values. Previously set options are ignored.

Usage

# S4 method for validator,validator
+(e1, e2)

Arguments

e1

a validator

e2

a validator

See Also

Other validator-methods: plot,validator-method, validator

Examples

Run this code
validator(x>0) + validator(x<=1)

Run the code above in your browser using DataLab