New argument for boot.matrix
: what
to specify whether to bootstrap rows ("rows"
- the default), columns ("columns"
) or both (c("rows", "columns")
). Thanks to Gavin Thomas for this suggestion.
[x] implement checks for what
General rehaul of the dispRity
RAM management! All disparity metrics can now have an optional RAM.help
component that can generate any specific calculation and storage of data for helping the metric. This is then internally used by dispRity
to pre-calculate and optimise operations that use a lot of RAM or CPU time. For example, you can now use RAM.help = vegan::vegdist
to pre-calculate all distances in the trait space using vegan::vegdist
. These pre-calculated distances are then used by the disparity metric avoiding recalculating distances internally. Thanks to Neha Sharma for this suggestion.
RAM.help
arguments that intake a function that will run some pre-calculations. For example, this function can be vegan::vegdist
.get.dispRity.metric.handle
dispRity
using the RAM.help
function before the lapply_loop
data
similarly as tree as RAM.helper
RAM.helper
similarly as tree.dispRity
functions that have a check.dist.matrix
function to use a helper
neighbours
span.tree.length
pairwise.dist
func.eve
count.neighbourskeep.distance = TRUE
to dispRity
which does:keep.distance = TRUE
OR if no + keep.distance = TRUE
+ RAM.helper + distance based metric -> apply bootstrap or anything on rows and columnskeep.distances = FALSE
").[x] add count.neigbhours
to the metrics section (New metric: count.neighbours
to count the number of neighbours for each elements within a certain radius (thanks to Rob MacDonald for the suggestion).)
[ ] make a MCMCglmm related standalone vignette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.