corPFSOS {simIDM} | R Documentation |
Correlation of PFS and OS event times for data from the IDM
Description
Correlation of PFS and OS event times for data from the IDM
Usage
corPFSOS(
data,
transition,
bootstrap = TRUE,
bootstrap_n = 100,
conf_level = 0.95
)
Arguments
data |
( |
transition |
( |
bootstrap |
( |
bootstrap_n |
( |
conf_level |
( |
Value
The correlation of PFS and OS.
Examples
transition <- exponential_transition(h01 = 1.2, h02 = 1.5, h12 = 1.6)
data <- getClinicalTrials(
nRep = 1, nPat = c(100), seed = 1234, datType = "1rowTransition",
transitionByArm = list(transition), dropout = list(rate = 0.5, time = 12),
accrual = list(param = "intensity", value = 7)
)[[1]]
corPFSOS(data, transition = exponential_transition(), bootstrap = FALSE)
## Not run:
corPFSOS(data, transition = exponential_transition(), bootstrap = TRUE)
## End(Not run)
[Package simIDM version 0.1.0 Index]