timeroc_obj {parTimeROC} | R Documentation |
timeroc_obj
Description
Function to initialized time-dependent ROC object.
Usage
timeroc_obj(
dist,
params.x = NA,
params.t = NA,
copula = NA,
params.copula = NA,
params.ph = NA
)
Arguments
dist |
A string emphasizing the distribution assumption for biomarker-time-model. |
params.x |
Vector of biomarker parameter. |
params.t |
Vector of time-to-event parameter. |
copula |
A string emphasizing on the copula to be used. |
params.copula |
An integer for copula parameter. |
params.ph |
An integer for association parameter. |
Value
A 'TimeROC' object.
Examples
## Copula model
test <- timeroc_obj(dist = 'gompertz-gompertz-copula', copula = "gumbel90")
## PH model
test <- timeroc_obj(dist = 'weibull-gompertz-PH')
[Package parTimeROC version 0.1.0 Index]