Learn R Programming

eggCounts (version 0.4-1)

update_theta_gamma1: Update a parameter $theta$ based on a gamma distribution

Description

Update a parameter $theta$ based on a gamma distribution

Usage

update_theta_gamma1(s, r, a, b, ...)

Arguments

s
s
r
r
a
shape parameter of the gamma prior for $theta$
b
rate parameter of the gamma prior for $theta$
...
extra arguments (not used)

Value

  • updated parameter $theta$