posterior: posterior

Description Usage Arguments Value

View source: R/posterior.R

Description

Posterior density function

Usage

1
posterior(lambda_r, k, al_c, be_c)

Arguments

lambda_r

numeric, true intensity.

k

numeric, observed count for a taxa in a sample.

al_c

numeric, estimated shape parameter for the contaminant intensity.

be_c

numeric, estimated scale parameter for the contaminant intensity.

Value

numeric, posterior density function for the true intensity (up to a constant)


PratheepaJ/BARBI documentation built on April 16, 2020, 11:51 a.m.