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/nariel documentation built on March 1, 2023, 12:51 p.m.