Skip to content

Commit

Permalink
Update test-ggcuminc.R
Browse files Browse the repository at this point in the history
  • Loading branch information
ddsjoberg committed Apr 25, 2024
1 parent f50fa55 commit 343e5fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-ggcuminc.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ test_that("ggcuminc() axis label correct with multi-state model ", {
c("censor", "recur", "death")))
cdata$trt <- 1*(cdata$rx=="Lev+5FU") # lump the Obs and Lev arms together

cfit <- survfit(Surv(tstart, tstop, state) ~ trt, cdata, id=id, model=TRUE)
cfit <- survfit(Surv(tstart, tstop, state) ~ trt, cdata, id=id)

expect_equal(
tidy_survfit(cfit, times = 1000)$estimate_type_label |> unique(),
Expand Down

0 comments on commit 343e5fd

Please sign in to comment.