Skip to content

Commit

Permalink
fix numbers with correct seed
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Sabanes Bove committed Jan 9, 2024
1 parent 1bd1329 commit 49370bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-one_minus_kaplan_meier.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ test_that("one_minus_kaplan_meier works as expected", {
haz_soft = 0.5
)
result <- one_minus_kaplan_meier(data = df, tau = 4)
expected <- c(ae_prob = 0.54147805, ae_prob_var = 0.02275271)
expected <- c(ae_prob = 0.3771350, ae_prob_var = 0.0260535)
expect_equal(result, expected, tolerance = 1e-4)
})

Expand Down

0 comments on commit 49370bf

Please sign in to comment.