check_observation_indicator: Check observation indicator

check_observation_indicatorR Documentation

Check observation indicator


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.


check_observation_indicator(new_confirm, observation_indicator = NULL)



A data frame containing the observations to be checked.


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.


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(), check_group_date_unique(), check_max_delay(), check_module(), check_modules_compatible(), check_numeric_timestep(), check_quantiles(), check_timestep(), check_timestep_by_date(), check_timestep_by_group()

seabbs/epinowcast documentation built on July 17, 2024, 5:18 p.m.