Skip to contents

Validate user-provided count data

Usage

validate_count_data(
  count_data,
  count_col_name,
  pop_size_col_name,
  call = rlang::caller_env()
)

Arguments

count_data

tibble containing the input count data

count_col_name

string indicating the name of the column containing the count data

pop_size_col_name

string indicating the name of the column containing the population size of the count catchment area

call

Calling environment to be passed to cli::cli_abort() for traceback.

Value

NULL, invisibly