Key functions

Computation

divpro()

Generate Hill diversity profile

e2d()

Hill diversity from evenness

e3Fun()

Normalized Hill evenness

rarity()

Compute Hill diversity: the mean species rarity

Visualization

ellnotate()

Convenience function to label rarity plots with scaling exponent

print_operator()

Ratio labels

radplot()

Plot a rank-abundance distribution

rarity_plot()

Construct rarity balance plot

rat_breaks()

Compute breaks for ratio scale

seesaw_sugar()

ggplot sugar for rarity plots

Sampling

sample_finite()

Take an abundance vector and subsample to size

sample_infinite()

Sample a [relative] abundance vector with replacement

subcom()

Subsample of several community vectors A wrapper of sample_finite to take a subset of a bunch of communities, each subset of equal abundance.

Simulation

fit_SAD()

Fit a SAD given diversity and a distributional assumption

Datasets

beeAbunds

Bee specimens from 4 sites sampled with equal effort, summarized

beeObs

Bee specimens from 4 sites sampled with equal effort

effort_rare

Rarefied diversity estimates for each site, multiple standards

err_plot_data

Sampling variability in Hill diversity

errs

Estimator accuracy and bias

mean_ests

Rarefied diversity estimates for each site

Other exported objects

Bt_prob_abu()

Generate "augmented" sample for bootstrapping

Chao_Hill_abu()

Estimate asymptotic Hill diversity

Chat.Ind()

Estimate sample coverage

combfun()

Sums duplicate values, for determining [species] weights

ENSer()

Worker to iteratively solve ENS transformation of Hurlbert diversity

Exp()

Exponentiate x to power y

GUE()

God's unbiased estimator

hRare()

Hurlbert rarefaction

hurl()

Estimate ENS based on Hurlbert rarefaction

ipfun()

Inverse function for power transformation

Ln()

Robust natural log

`%ni%`

Not in

obs_est()

Observed and asymptotic diversity

omit_y()

Convenience function to omit y-axis elements for constructing multi-panel plots

pfun()

Power transformation

power_trans()

Power scale transformation

rmsle()

Root mean squared log error

try_SAD()

Relative abundances, given richness and distributional assumption

white_y()

Convenience function to blank y-axis elements for constructing multi-panel plots