updatemu: Function to update estimated mean CAL values based on current...

View source: R/RcppExports.R

updatemuR Documentation

Function to update estimated mean CAL values based on current parameters

Description

This function takes current parameters, gives an estimated mean CAL values.

Usage

updatemu(R, Z, X, Gamma, K, Beta, E,  m,n,p, q)

Arguments

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

Value

updatemu(R, Z, X, Gamma, K, Beta, E, m,n,p, q) returns the updated estimated mean CAL matrix.

Author(s)

Yuliang Li

See Also

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


BAREB documentation built on April 12, 2025, 1:53 a.m.

Related to updatemu in BAREB...