plus-validator-validator-method: Combine two validator objects

+,validator,validator-methodR Documentation

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 signature 'validator,validator'
e1 + e2

Arguments

e1

a validator

e2

a validator

Note

The names of the resulting object are made unique using make.names.

See Also

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

Examples

validator(x>0) + validator(x<=1)

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