CheckGeoGroupNumber: Check that the specified geo group number is present in the...

Description Usage Arguments Value Note

View source: R/utils_assert.R

Description

Check that the specified geo group number is present in the data.

Usage

1
CheckGeoGroupNumber(geo.group, values)

Arguments

geo.group

(an integer) geo group number (>= 1). (NA throws an error).

values

(vector) values to check against.

Value

TRUE, invisibly; as a side effect may throw an assertion error.

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.