One row per scored cell x region whose class and best state (state_comb)
the policy lists at level; called = score > thr. Rows with
eligible = FALSE (regions that are not scored) are left out.
Usage
call_table(
d_scored,
thr_applied = NULL,
regions = NULL,
policy = call_policy("normal"),
score = "s_comb",
level = "cell",
keep_cols = c("z", "f", "n_hap")
)Arguments
- d_scored
scored rows (
score_cells()); withthr_<score>columns whenthr_appliedis NULL- thr_applied
a thresholds table to apply (
budget_thresholds()), or NULL whend_scoredalready went throughapply_thresholds()- regions
regions table (coordinates); NULL leaves them NA
- policy
- score
score column
- level
policy level
- keep_cols
further columns of
d_scoredcopied to the calls when present