UpdateRPlee11: Update coefficients of Bayesian Cox Models

View source: R/UpdateRPlee11.R

UpdateRPlee11R 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, cpp = FALSE)

Arguments

sobj

a list containing observed data from n subjects; t, di, X. See details for more information

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 learning the MRF graph

cpp

logical, whether to use C++ code for faster computation

Value

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


BayesSurvive documentation built on April 3, 2025, 5:58 p.m.