update_theta_gamma: update_theta_gamma

Description Usage Arguments Value See Also

View source: R/updates.R

Description

Update the DPP hyper-parameter for site level

Usage

1
update_theta_gamma(theta, tau, Gamma, S, Ds, sig = 10)

Arguments

theta

The DPP hyper-parameter for patient level

tau

A fixed DPP hyper-parameter, which we suggest high value, say 10^5

Gamma

The linear coefficients for site level covariates. Should be a 3-dimensional array.

S

The number of patient level clusters

Ds

The number for site level clusters for each patient level cluster

sig

The hyper-parameter with default value being 10

Value

updated DPP hyper-parameter for site level

See Also

update_RJ for a complete example for all functions in this package.


BAREB documentation built on March 26, 2020, 7:36 p.m.