NEWS.md
vignette("other_functions", package = "funrar")
tidytext
for upcoming version (#42, thanks @juliasilge !)distinctiveness_global()
to compute occurrence based distinctiveness at the global/regional level using only a distance matrixdata.frame()
now with explicit stringAsFactors
values for compatibility with R 4.0.0_tidy()
aliases for each _stack()
function for easier reading (fix #29).distinctiveness_stack()
returns NA
as distinctiveness values for absent species (#30).distinctiveness_range()
.distinctiveness_alt()
.NaN
in distinctiveness_stack()
(#30).distinctiveness_dimensions()
that generated errors on cran server.stack_to_matrix(x, sparse = TRUE)
(#25);comput_dist_matrix()
, as it defaults to Gower’s distance (#27);rarity_dimensions()
in two more explicit functions: uniqueness_dimensions()
and distinctiveness_dimensions()
split corresponding tests;combination_trait_dist()
);distinctiveness()
now fully conserve the dimnames of the provided site-species matrix.rarity_dimensions()
;rarity_dimensions()
now comprises both Uniqueness and Distinctiveness;StatMatch
, microbenchmark
& reshape2
from suggested packages.make_absolute()
defunct because it was based on false assumptions and would not give back matrices of relative abundances;make_relative()
, uniqueness()
, distinctiveness()
to compute across single communities or regional pools;rarity_dimensions()
function to measure the different facets of rarity according to the trait;center
and scale
arguments in compute_dist_matrix()
to scale traits before computing distance, these arguments are sensitive to the specific distance metric used;roxygen2
to generates documentation.matrix_to_stack()
(#19),goodpractice
to enforce better code style,is_relative()
function to test if matrix contains relative abundances, scarcity()
and distinctiveness()
now warns if it is not the case (#21),microbenchmark
following CRAN advice.make_relative()
and reverse function make_absolute()
,NEWS.md
file to track changes to the package.