Nothing
test_that("test_ph function does not return an error", {
expect_no_error(
test_ph(
data = easy_lung,
time = "time",
event = "status",
group = "sex"
)
)
})
test_that("test_ph function without a group returns an error", {
expect_error(
test_ph(
data = easy_lung,
time = "time",
event = "status"
)
)
})
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.