gamma_prior: Gamma prior for for control and treatment group

Description Usage Arguments Value Examples

View source: R/survival.R

Description

Wrapper function for gamma prior Gamma(a0, b0).

Usage

1
gamma_prior(a0 = 0.1, b0 = 0.1, .data = NULL)

Arguments

a0

numeric. The shape parameter in the gamma distribution (beta(a0, b0)).

b0

numeric. The scale parameter in the beta distribution (beta(a0, b0)).

.data

NULL. Stores the gamma prior rate. Should not be edited by the user.

Value

A list with vector of gamma rate for the gamma prior for treatment and control group.

Examples

1
gamma_prior(a0 = 0.1, b0 = 0.1)

thevaachandereng/bayesCT documentation built on July 25, 2020, 9:20 p.m.