compute_num_spp_covered_by_solution | R Documentation |
Compute number of species whose targets are met by a candidate solution
compute_num_spp_covered_by_solution(cand_sol_PU_IDs, bpm, spp_rep_targets)
cand_sol_PU_IDs |
vector of only the planning unit IDs that are included in the candidate solution |
bpm |
bipartite matrix; integer matrix with one row for each species and one column for each planning unit. Each matrix entry specifies whether that species occupies that planning unit; 1 indicates the species does occupy the planning unit and 0 indicates it does not. Same as occ_matrix. |
spp_rep_targets |
numeric vector with a target abundance for each species in the problem |
number of species whose targets are met by the candidate solution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.