Learn R Programming

preseqR (version 4.0.0)

fisher.alpha: Parameter alpha in the logseries estimator

Description

fisher.alpha estimates the parameter alpha in the logseries estimator by Fisher, R. A., et al. (1943) based on an initial sample.

Usage

fisher.alpha(n)

Arguments

n

A two-column matrix. The first column is the frequency \(j = 1,2,\dots\); and the second column is \(N_j\), the number of species with each species represented exactly \(j\) times in the initial sample. The first column must be sorted in an ascending order.

Value

A double, the estimated value of the parameter alpha

References

Fisher, R., Corbet, A., & Williams, C. (1943). The Relation Between the Number of Species and the Number of Individuals in a Random Sample of an Animal Population. Journal of Animal Ecology, 12(1), 42-58. doi:10.2307/1411

Examples

Run this code
# NOT RUN {
## load library
library(preseqR)

## import data
data(WillButterfly)

## estimating alpha
fisher.alpha <- fisher.alpha(WillButterfly)
# }

Run the code above in your browser using DataLab