wrap_abundances_around_eligible_set | R Documentation |
Take a given distribution (e.g., from a Xu problem) and add more species (and probably more planning units too) to the problem so that the new problem has a specified distribution, but retains the original problem's solution.
wrap_abundances_around_eligible_set( dep_set, eligible_set, rounded_abund_per_spp, num_base_spp, Xu_PU_spp_table, allow_imperfect_wrap, min_allowed_abundance = 2, PU_col_name = "PU_ID", spp_col_name = "spp_ID", use_testing_only_rand_seed = FALSE, testing_only_rand_seed = 17 )
dep_set |
integer vector |
eligible_set |
integer vector |
rounded_abund_per_spp |
integer vector |
num_base_spp |
integer |
Xu_PU_spp_table |
data frame |
allow_imperfect_wrap |
boolean |
min_allowed_abundance |
integer |
PU_col_name |
character string |
spp_col_name |
character string |
use_testing_only_rand_seed |
boolean |
testing_only_rand_seed |
integer |
Returns PU_spp_table data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.