Nothing
test_that("analyse_logrank outputs plausible data.frame for delayed effect", {
capture_output(
condition <- merge(
assumptions_delayed_effect(),
design_fixed_followup(),
by=NULL
) |>
head(1)
)
dat <- generate_delayed_effect(condition)
res <- analyse_logrank()(condition, dat)
expect_true(hasName(res, "p"), label="result has the column p")
expect_lte(res$p, 1, label="p value le 1")
expect_gte(res$p, 0, label="p value ge 0")
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.