Estimation of interpolation and extrapolation of individual-based. This function estimates taxonomic diversity using Hill numbers. It takes a data matrix as input, with rows representing samples and columns representing taxa, and returns a dataframe with diversity indices for each sample. The diversity indices calculated are: Hill number 0, 1, and 2, Hill number 1 minus Hill number 2, Hill number 2 divided by Hill number 1, and Hill number 1 divided by Hill number 0 Hill numbers

diversity_estimate_taxonomic(data_matrix, sample_size)

Arguments

data_matrix

Data matrix. Rows as levels and columns as taxa. Row names should be the sample_id.

sample_size

Numeric. Minimum sample size

Value

#' Data frame with diversity metric estimated for each level (sample):

  • n0 - Hill' N0

  • n1 - Hill' N1

  • n2 - Hill' N2

  • n1_minus_n2 - evenness ratios (N1-N2)

  • n2_divided_by_n1 - evenness ratios (N2/N1)

  • n1_divided_by_n0 - evenness ratios (N1/N0)

Author

Vivian Felde, Ondrej Mottl