Skip to contents

The exclusion rows the occurrence rule hands to the merge

Usage

occurrence_exclusions(d, gate = c("zero", "all"))

Arguments

d

the result of occurrence_rule().

gate

which dropped rows become exclusions: "zero" (default; D11 "gate where zero records"): only zones with NO record under adequate effort – the v7c anchors (four turtles x East Bering Sea) and the 3,817 zero-record pairs of the v11 run; a zone whose species IS recorded but well below its rate elsewhere (1,904 pairs incl. bowhead x Bering Sea at 23 of 458 blocks, beluga x Bering Sea at 51 of 604 – seasonal / coastal stocks the block rate cannot tell from absence) is NOT excluded but downweighted by encounter_weight(); "all": every dropped row (the rule as first written).

Value

a data frame (mdl_key, zone_key) of the dropped (model, zone) pairs, the shape zone_exclude_sql() takes (id_col = "mdl_key"); zero rows when nothing is dropped.