multitest {simtrial} | R Documentation |
Perform multiple tests on trial data cutting
Description
WARNING: This experimental function is a work-in-progress. The function arguments and/or returned output format may change as we add additional features.
Usage
multitest(data, ...)
Arguments
data |
Trial data cut by |
... |
One or more test functions. Use |
Value
A list of test results, one per test. If the test functions are named
in the call to multitest()
, the returned list uses the same names.
See Also
Examples
trial_data <- sim_pw_surv(n = 200)
trial_data_cut <- cut_data_by_event(trial_data, 150)
# create cutting test functions
wlr_partial <- create_test(wlr, weight = fh(rho = 0, gamma = 0))
rmst_partial <- create_test(rmst, tau = 20)
maxcombo_partial <- create_test(maxcombo, rho = c(0, 0), gamma = c(0, 0.5))
multitest(
data = trial_data_cut,
wlr = wlr_partial,
rmst = rmst_partial,
maxcombo = maxcombo_partial
)
[Package simtrial version 0.4.1 Index]