survMC: Survival analysis using Cox Proportional Hazards with MCMC.
Description
Performs survival analysis using Cox Proportional Hazards with MCMC.
Usage
survMC(m, n, Time, Event, chains, adapt, iter, data)
Value
Data set containing Posterior HR estimates, SD and quantiles.
Arguments
m
Starting column number from where variables of high dimensional data will get selected.
n
Ending column number till where variables of high dimensional data will get selected.
Time
Variable/Column name containing the information on duration of survival
Event
Variable/Column name containing the information of survival event
chains
Number of chains to perform
adapt
Number of adaptations to perform
iter
Number of iterations to perform
data
High dimensional data having survival duration and event.
Author
Atanu Bhattacharjee and Akash Pawar
Details
The survival columns of the data should be arranged as follows -
Death Death status=1 if died otherwise 0.
OS Survival duration measured as 'OS'
t.len Number of censored times
References
Bhattacharjee, A. (2020). Bayesian Approaches in Oncology Using R
and OpenBUGS. CRC Press.