CheckPeriodNumbers: Check that the specified period numbers are present in the...

Description Usage Arguments Value Note

View source: R/utils_assert.R

Description

Check that the specified period numbers are present in the data.

Usage

1
CheckPeriodNumbers(period, values)

Arguments

period

(integer vector): one or more period numbers. (NA throws an error).

values

(vector) values to check against.

Value

TRUE invisibly if the checks pass. As a side effect will terminate with an error if the checks fail.

Note

For checking arguments within a function. Outputs the name of the variable in error messages.


google/GeoexperimentsResearch documentation built on May 17, 2019, 7:42 a.m.