- remove sort on a
data.frame
from the functionplot_abu
which does not change how this function behaves but adheres to CRAN standards.
ref_level
can be specified inget_mob_stats
,plot_rarefaction
andplot_sad
which allows for the reference (i.e., control) group to be specified which all others are compared to. This is similar to the implementation in the functionget_delta_stats
- typo in test_rarefaction.R
- typo in get_mob_stats documentation
- Gradient multi-scale mob method added to the function
get_delta_stats
as described in McGlinn et al. (2020 - Added a new k-nearest neighbor algorithm for the spatial sample based rarefaction curve (sSBR)
- ggplot integrated into plotting method for
get_delta_stats
->plot.mob_out
- Added automated tests
- Improved documentation throughout the package
- Function
sphere_dist
did not appear to be calculating great circle distances from latitude and longitude coordinates correctly using the Haversine formula. This was corrected with a new function this is correct according to comparisons withfields::rdist.earth
andgeosphere::distHaversine
.
- Removed the function
overlap_effects
which provided an overlapped image of the three components SAD, N, and agg across scale. This may be added back in the future
- Refactored code surrounding the
get_delta_stats
function which computes the differences in richness across all possible scales. - Refactoring was primarily accomplished by integrating in the tidyverse tools which should make the code easier to understand and follow
- Computational time has increased as the tidyverse tools are not necessarily the most computationally efficient solutions