UpdateGamma {BayesSurvive} | R Documentation |
Subfunctions to update parameters
Description
This contains subfunctions to update parameters gammas, betas, baseline hazard and graph learning parameters
Usage
UpdateGamma(sobj, hyperpar, ini, S, method, MRF_G, MRF_2b)
Arguments
sobj |
a list containing observed data |
hyperpar |
a list containing prior parameter values |
ini |
a list containing prior parameters' initial values |
S |
the number of subgroups |
method |
a method option from
|
MRF_G |
logical value. |
MRF_2b |
two different b in MRF prior for subgraphs G_ss and G_rs |
Value
A list object with two components for the latent variable selection indicators gamma with either independent Bernoulli prior
[Package BayesSurvive version 0.0.2 Index]