compute_posterior_with_replacement: Compute posterior probability with replacement

View source: R/utils.R

compute_posterior_with_replacementR Documentation

Compute posterior probability with replacement

Description

Compute posterior probability with replacement

Usage

compute_posterior_with_replacement(n, counts, f_product, denominator)

Arguments

n

integer for which to compute the posterior

counts

integer vector of counts

f_product

product of (1-fractions)

denominator

normalization constant returned by compute_normalization_constant

Value

posterior probability of n

See Also

compute_normalization_constant


dupiR documentation built on May 29, 2024, 1:21 a.m.