Nothing
test_that("as.data.frame.ms_power returns the per-look table", {
res <- ms_power(scn_a(), n = 400, looks = ms_looks("os", fraction = c(0.5, 1)),
test = ms_test(), events = 300)
df <- as.data.frame(res)
expect_s3_class(df, "data.frame")
expect_equal(nrow(df), 2L)
expect_equal(df[["cum_power"]][2], res$power)
})
test_that("as.data.frame.ms_power returns one row per endpoint and look", {
res <- run_design("D3")
df <- as.data.frame(res)
expect_equal(nrow(df), 4L)
expect_identical(df$endpoint, c("pfs", "pfs", "os", "os"))
})
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.