This function verifies if the observation_indicator
within the provided
new_confirm
observations is logical. The check is performed to ensure
that the observation_indicator
is of the correct type.
Arguments
- new_confirm
A data frame containing the observations to be checked.
- observation_indicator
A character string specifying the column name in
new_confirm
that represents the observation indicator. This column should be of logical type. If NULL, no check is performed.
Value
This function is used for its side effect of checking the observation
indicator in new_confirm
. If the check passes, the function returns
invisibly. Otherwise, it stops and returns an error message.
See also
Functions used for checking inputs
check_calendar_timestep()
,
check_group_date_unique()
,
check_group()
,
check_max_delay()
,
check_modules_compatible()
,
check_module()
,
check_numeric_timestep()
,
check_quantiles()
,
check_timestep_by_date()
,
check_timestep_by_group()
,
check_timestep()