calculate_probability: Calculate P(B)

View source: R/train.R

calculate_probabilityR Documentation

Calculate P(B)

Description

Calculate P(B)

Usage

calculate_probability(x, feature, params_table)

Arguments

x

numeric : relative abundance of the feature of interest

feature

string : feature of interest with representation in the provided parameter table

pararms_table

data frame / matrix : parameter table containing P(not detected) and shape parameters for beta distribution:

Value

numeric value


naomiwilson/nariel documentation built on March 1, 2023, 12:51 p.m.