MH_MCMC: MH_MCMC

Description Usage Arguments Value

View source: R/MH_MCMC.R

Description

Metropolis Hastings MCMC

Usage

1
MH_MCMC(itera, k, al_c, be_c, startvalue_lamda_r = 0)

Arguments

itera

numeric, number of MCMC samples.

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.

startvalue_lamda_r

numeric, initial value for the true intensity.

Value

An array of MCMC samples.


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