You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when all species in the dataset do not pass the test of minimum occurrences
splist <- splist[test >= min_occs]
it returns a list without elements. The function is able to warn you and continue, however, if the method is quantile and there's a sampling threshold set (sampling_thresh > 0 ) then it troughs an error.
I have resolved the issue by adding
if (sampling_thresh > 0 & length(flags)>0) {}
Just a suggestion
Cheers,
Pep
The text was updated successfully, but these errors were encountered:
when all species in the dataset do not pass the test of minimum occurrences
splist <- splist[test >= min_occs]
it returns a list without elements. The function is able to warn you and continue, however, if the method is quantile and there's a sampling threshold set (sampling_thresh > 0 ) then it troughs an error.
I have resolved the issue by adding
if (sampling_thresh > 0 & length(flags)>0) {}
Just a suggestion
Cheers,
Pep
The text was updated successfully, but these errors were encountered: