Apply grossrange test to current variables
adcp_test_grossrange.RdApply grossrange test to current variables
Arguments
- dat
Data frame of current variables in wide format.
- current_grossrange_table
Data frame with at least 5 columns:
variable: entries must match the names of the variables being tested indat;gr_min: minimum acceptable value;gr_max: maximum accepted value ;user_min: minimum reasonable value;user_max: maximum reasonable value.- county
Character string indicating the county from which
datwas collected. Used to filter the defaultcurrent_grossrange_table.- vars
Vector of character strings indicating which columns to pivot. Default is all variables.