H_Brillouin: Brillouin's index of species diversity

H_BrillouinR Documentation

Brillouin's index of species diversity

Description

Index that measures the diversity of a collection accoding to

Usage

H_Brillouin(x)

Arguments

x

number of each species of parasites by host

Value

data frame with Brillouin index.

References

Krebs, C. J. (1999). Species diversity measures. Ecological methodology

Examples

df <- data.frame("Parasite_1" = c(11, 14, 13, 11, 12),
                 "Parasite_2" = c(103, 920, 678, 181, 410),
                 "Parasite_3" = c(363, 188, 331, 339, 534),
                 "Parasite_4" = c(50, 20, 13, 222, NA))
rownames(df) <- c("Host_A", "Host_B", "Host_C","Host_D", "Host_E")
H_Brillouin(df)

ralphmp/ecopaR documentation built on May 27, 2023, 3:50 p.m.