Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Sep 30, 2024
1 parent 83563a2 commit 70ef32e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-r2.R
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ withr::with_environment(
data = bioChemists
)
out <- r2(m)
expect_equal(out[[1]], 0.14943, tolerance = 1e-3, ignore_attr = TRUE)
expect_equal(out[[1]], 0.1797549, tolerance = 1e-3, ignore_attr = TRUE)
# validate against pscl::zeroinfl
m2 <- pscl::zeroinfl(
art ~ fem + mar + kid5 + ment | kid5 + phd,
Expand Down

0 comments on commit 70ef32e

Please sign in to comment.