chk_not_equal_integer_scalar: Check that integers 'x1' and 'x2' are not equal

Description Usage Arguments See Also Examples

View source: R/chk-composite.R

Description

Check that integers 'x1' and 'x2' are not equal

Usage

1
2
3
chk_not_equal_integer_scalar(x1, x2, name1, name2)

err_not_equal_integer_scalar(x1, x2, name1, name2)

Arguments

x1

An integer scalar.

x2

An integer scalar.

name1

The name for x1 that will be used in error messages.

name2

The name for x2 that will be used in error messages.

See Also

chk_le, chk_lt, chk_ge, chk_gt

Examples

1
2
3
x1 <- 2L
x2 <- 3L
chk_not_equal_integer_scalar(x1 = x1, x2 = x2, name1 = "x1", name2 = "x2")

johnrbryant/demcheck documentation built on Dec. 31, 2021, 11:57 a.m.