Learn R Programming

mobr (version 2.0.2)

ind_rare_perm: Compute permutation derived individual-based rarefaction curves

Description

An internal function that can provide an independent derivation of the individual rarefaction curve for the purposes of testing the performance of the function rarefaction

Usage

ind_rare_perm(abu, n_perm = 100, n_indiv = NULL)

Arguments

abu

a vector of species abundances

n_perm

the number of permutations to average across, defaults to 100

n_indiv

the number of individuals to evaluate the rarefaction curve at. The default behavior is to evaluate it on a log2 interval from 1 to N