updatemu | R Documentation |
This function takes current parameters, gives an estimated mean CAL values.
updatemu(R, Z, X, Gamma, K, Beta, E, m,n,p, q)
R |
current site level clustering matrix |
Z |
the site level covariate matrix |
X |
the patient level covariate matrix |
Gamma |
current site level linear coefficients array |
K |
a vector recording numbers of site level clusters |
Beta |
current patient level linear coefficients matrix |
E |
current patient level clustering vector |
m |
number of sites |
n |
number of patients |
p |
dimension of patient level covariates |
q |
dimension of site level covariates |
updatemu(R, Z, X, Gamma, K, Beta, E, m,n,p, q)
returns the updated estimated mean CAL matrix.
Yuliang Li
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.