View source: R/empSignificant.R
logRankTest | R Documentation |
This function evaluates the significance of either PFS or OS endpoints in a trial, based on a pre-specified critical value.
logRankTest(data, typeEvent = c("PFS", "OS"), critical)
data |
( |
typeEvent |
( |
critical |
(positive |
Logical value indicating log-rank test significance.
transition1 <- exponential_transition(h01 = 0.06, h02 = 0.3, h12 = 0.3)
transition2 <- exponential_transition(h01 = 0.1, h02 = 0.4, h12 = 0.3)
simTrial <- getClinicalTrials(
nRep = 1, nPat = c(800, 800), seed = 1234, datType = "1rowPatient",
transitionByArm = list(transition1, transition2), dropout = list(rate = 0.5, time = 12),
accrual = list(param = "intensity", value = 7)
)[[1]]
logRankTest(data = simTrial, typeEvent = "OS", critical = 3.4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.