Learn R Programming

BAREB (version 0.1.2)

update_theta_beta: update_theta_beta

Description

Update the DPP hyper-parameter for patient level

Usage

update_theta_beta(theta, tau, Beta, sig = 10)

Value

updated DPP hyper-parameter for patient level

Arguments

theta

The DPP hyper-parameter for patient level

tau

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

Beta

The linear coefficients for patient level covariates. Should be a matrix with S rows

sig

The hyper-parameter with default value being 10

See Also

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