This contains subfunctions to update parameters gammas, betas, baseline hazard and graph learning parameters
UpdateGamma(sobj, hyperpar, ini, S, method, MRF_G, MRF_2b)
A list object with two components for the latent variable selection indicators gamma with either independent Bernoulli prior
a list containing observed data
a list containing prior parameter values
a list containing prior parameters' initial values
the number of subgroups
a method option from
c("Pooled", "CoxBVSSL", "Sub-struct", "Subgroup")
logical value. MRF_G = TRUE
is to fix the MRF graph which
is provided in the argument hyperpar
, and MRF_G = FALSE
is to
use graphical model for leanring the MRF graph
two different b in MRF prior for subgraphs G_ss and G_rs