Closed ahasverus closed 2 years ago
Implement a new internal function, check_threshold_proportion() to check:
check_threshold_proportion()
is.numeric(threshold)
threshold <= 1
threshold >= 0
This function will be used to check the arguments: threshold_sites_proportion, threshold_traits_proportion, and threshold_species_proportion
threshold_sites_proportion
threshold_traits_proportion
threshold_species_proportion
Implement a new internal function,
check_threshold_proportion()
to check:is.numeric(threshold)
threshold <= 1
threshold >= 0
This function will be used to check the arguments:
threshold_sites_proportion
,threshold_traits_proportion
, andthreshold_species_proportion