UpdateRPlee11 {BayesSurvive}R Documentation

Update coefficients of Bayesian Cox Models

Description

This an internal function to update coefficients of the Bayesian Cox Lasso Model

Usage

UpdateRPlee11(sobj, hyperpar, ini, S, method, MRF_G)

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 c("Pooled", "CoxBVSSL", "Sub-struct")

MRF_G

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

Value

A list object with component 'beta.ini' for the updated coefficients and component 'acceptlee' for the MCMC acceptance rate


[Package BayesSurvive version 0.0.1 Index]