singleton_estimator: singleton_estimator is a function of obtaining the estimator...

View source: R/internal_func.R

singleton_estimatorR Documentation

singleton_estimator is a function of obtaining the estimator of singleton based the method of Chiu & Chao (2016)

Description

singleton_estimator is a function of obtaining the estimator of singleton based the method of Chiu & Chao (2016)

Usage

singleton_estimator(x, datatype = "abundance")

Arguments

x

a vector of species sample frequencies

datatype

Character. Specify the data type. abundance or incidence (this should be normally abundance for a phyloseq object).

Details

  • Chiu & Chao (2016) PeerJ https://doi.org/10.7717/peerj.1634

Value

singleton estimate and a numerical vector of corrected data.


ong8181/macam documentation built on April 11, 2024, 12:58 p.m.