estimate_binomial_parameter: Estimate Binomial Parameter

View source: R/train.R

estimate_binomial_parameterR Documentation

Estimate Binomial Parameter

Description

This function estimates probability of non-detection per taxon: Number of samples below the limit of detection divided by the total number of samples. A pseudocount of 1/2 is also included.

Usage

estimate_binomial_parameter(taxa, limit_of_detection)

Arguments

taxa

vector of relative abundances per taxon

limit_of_detection

numeric relative abundance value

Value

numeric weight value


naomiwilson/gnominator documentation built on Feb. 27, 2023, 9:39 p.m.