update_theta_gamma | R Documentation |
Update the DPP hyper-parameter for site level
update_theta_gamma(theta, tau, Gamma, S, Ds, sig = 10)
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 |
updated DPP hyper-parameter for site level
update_RJ for a complete example for all functions in this package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.