chk_difference_divisible: Check that differences between two variables is divisible by...

Description Usage Arguments Examples

View source: R/chk-composite.R

Description

Check that differences between two variables is divisible by a third variable

Usage

1
2
3
chk_difference_divisible(x1, x2, y, name1, name2, name_y)

err_difference_divisible(x1, x2, y, name1, name2, name_y)

Arguments

x1

The larger variable.

x2

The smaller variable.

y

The third variable

name1

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

name2

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

name_y

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

Examples

1
2
3
4
5
6
chk_difference_divisible(x1 = 50,
                         x2 = 15,
                         y = 5,
                         name1 = "x1",
                         name2 = "x2",
                         name_y = "y")

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