survintMC: High dimensional survival analysis with interval censored...

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/survintMC.R

Description

Performs survival analysis with MCMC on a data set by computing survival interval given left and right censoring time.

Usage

1
survintMC(m, n, Leftcensor = NULL, OS, Death, iter, data)

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.

Leftcensor

"Variable/column name" containing the left censoring information.

OS

"Variable/column name" containing survival duration event observations.

Death

"Variable/column name" containing the survival event information. i.e. Death

iter

Number of MCMC iterations.

data

High dimensional data containing the Left censoring, Right censoring, Status and DEG observations.

Details

The survival columns of the data should be arranged as follows - leftcensoring The column containing the left censoring information, must be named as 'Leftcensor'. Rightcensor The column containing the right censoring information, must be named as 'Rightcensor' i.e. OS. Death The column containing the death and alive information, must be names as 'Status'.

Value

survintMCout A table containing HR and CI for respective covariates.

Author(s)

Atanu Bhattacharjee and Akash Pawar

References

Bogaerts, K., Komarek, A., & Lesaffre, E. (2017). Survival analysis with interval-censored data: A practical approach with examples in R, SAS, and BUGS. CRC Press.

See Also

survMC

Examples

1
2
3
4
5
6
7
## Not run: 
##
data(hnscc)
survintMC(m=7,n=11,Leftcensor="leftcensoring",OS="os",Death="death",iter=6,data=hnscc)
##

## End(Not run)

SurviMChd documentation built on May 23, 2021, 5:07 p.m.