diff --git a/tests/testthat/_snaps/discovr_bookexamples/estimate-slopes-discovr-1.svg b/tests/testthat/_snaps/discovr_bookexamples/estimate-slopes-discovr-1.svg index b3163d513..adfbd7404 100644 --- a/tests/testthat/_snaps/discovr_bookexamples/estimate-slopes-discovr-1.svg +++ b/tests/testthat/_snaps/discovr_bookexamples/estimate-slopes-discovr-1.svg @@ -27,32 +27,32 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + --0.5 -0.0 -0.5 -1.0 - - - - +-0.5 +0.0 +0.5 +1.0 + + + + diff --git a/tests/testthat/_snaps/estimate_contrasts.md b/tests/testthat/_snaps/estimate_contrasts.md index 6920b192a..736383b01 100644 --- a/tests/testthat/_snaps/estimate_contrasts.md +++ b/tests/testthat/_snaps/estimate_contrasts.md @@ -324,7 +324,7 @@ ---------------------------------------------------------- low | -0.06 | 0.01 | [-0.08, -0.05] | -7.08 | < .001 mid | -0.05 | 0.01 | [-0.06, -0.04] | -9.82 | < .001 - high | -0.05 | 0.01 | [-0.07, -0.03] | -4.51 | < .001 + high | -0.05 | 0.01 | [-0.07, -0.03] | -4.53 | < .001 Marginal effects estimated for barthtot Type of slope was dY/dX @@ -340,7 +340,7 @@ Level1 | Level2 | Difference | SE | 95% CI | t(808) | p -------------------------------------------------------------------- mid | low | 0.01 | 0.01 | [-0.01, 0.03] | 1.17 | 0.243 - high | low | 0.02 | 0.01 | [-0.01, 0.04] | 1.10 | 0.271 + high | low | 0.02 | 0.01 | [-0.01, 0.04] | 1.10 | 0.270 high | mid | 0.00 | 0.01 | [-0.02, 0.03] | 0.27 | 0.786 Variable predicted: neg_c_7 @@ -367,7 +367,7 @@ mid, female | low, female | 0.02 | 0.01 | [ 0.00, 0.05] | 1.76 | 0.079 high, male | low, female | 0.00 | 0.02 | [-0.04, 0.05] | 0.12 | 0.908 high, female | low, female | 0.03 | 0.02 | [-0.01, 0.06] | 1.58 | 0.115 - mid, female | mid, male | 0.03 | 0.01 | [ 0.00, 0.05] | 2.24 | 0.026 + mid, female | mid, male | 0.03 | 0.01 | [ 0.00, 0.05] | 2.23 | 0.026 high, male | mid, male | 0.00 | 0.02 | [-0.04, 0.05] | 0.18 | 0.859 high, female | mid, male | 0.03 | 0.02 | [ 0.00, 0.06] | 1.83 | 0.068 high, male | mid, female | -0.02 | 0.02 | [-0.06, 0.02] | -1.08 | 0.280 diff --git a/tests/testthat/_snaps/plot-slopes/plot-slopes-y-axis-labels-1.svg b/tests/testthat/_snaps/plot-slopes/plot-slopes-y-axis-labels-1.svg index 8863cfe13..445973011 100644 --- a/tests/testthat/_snaps/plot-slopes/plot-slopes-y-axis-labels-1.svg +++ b/tests/testthat/_snaps/plot-slopes/plot-slopes-y-axis-labels-1.svg @@ -29,18 +29,18 @@ - - - - - - - - + + + + + + + + --0.10 +-0.10 -0.05 0.00 0.05 diff --git a/tests/testthat/_snaps/plot-slopes/plot-slopes-y-axis-labels-2.svg b/tests/testthat/_snaps/plot-slopes/plot-slopes-y-axis-labels-2.svg index 3fb5f49bb..69fd48e61 100644 --- a/tests/testthat/_snaps/plot-slopes/plot-slopes-y-axis-labels-2.svg +++ b/tests/testthat/_snaps/plot-slopes/plot-slopes-y-axis-labels-2.svg @@ -27,25 +27,25 @@ - + - - + + --0.25 --0.20 --0.15 +-0.25 +-0.20 +-0.15 -0.10 -0.05 - - - - + + + + diff --git a/tests/testthat/_snaps/plot/plot-jonhson-neyman-1.svg b/tests/testthat/_snaps/plot/plot-jonhson-neyman-1.svg index b619a755a..157adcee8 100644 --- a/tests/testthat/_snaps/plot/plot-jonhson-neyman-1.svg +++ b/tests/testthat/_snaps/plot/plot-jonhson-neyman-1.svg @@ -29,18 +29,18 @@ - - - - - - - - + + + + + + + + --0.10 +-0.10 -0.05 0.00 0.05 diff --git a/tests/testthat/_snaps/plot/plot-slopes-3.svg b/tests/testthat/_snaps/plot/plot-slopes-3.svg index f54b96518..9adf9d759 100644 --- a/tests/testthat/_snaps/plot/plot-slopes-3.svg +++ b/tests/testthat/_snaps/plot/plot-slopes-3.svg @@ -27,24 +27,24 @@ - + - - + + - + -0.00 -0.25 -0.50 -0.75 - - - - +0.00 +0.25 +0.50 +0.75 + + + + diff --git a/tests/testthat/_snaps/plot/plot-slopes-4.svg b/tests/testthat/_snaps/plot/plot-slopes-4.svg index 38733308b..a0b3fe3fb 100644 --- a/tests/testthat/_snaps/plot/plot-slopes-4.svg +++ b/tests/testthat/_snaps/plot/plot-slopes-4.svg @@ -27,32 +27,32 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + --0.4 --0.2 +-0.4 +-0.2 0.0 0.2 - - - - + + + + diff --git a/tests/testthat/test-discovr_bookexamples.R b/tests/testthat/test-discovr_bookexamples.R index 94485cc26..9c7ee8d45 100644 --- a/tests/testthat/test-discovr_bookexamples.R +++ b/tests/testthat/test-discovr_bookexamples.R @@ -109,7 +109,7 @@ test_that("modelbased, chapter 10.3", { "caunts | Slope | SE | 95% CI | t(438) | p", "-------------------------------------------------------", "-9.62 | -0.09 | 0.10 | [-0.29, 0.10] | -0.91 | 0.361", - "0.00 | 0.17 | 0.07 | [ 0.03, 0.30] | 2.48 | 0.014", + "0.00 | 0.17 | 0.07 | [ 0.04, 0.30] | 2.48 | 0.014", "9.62 | 0.43 | 0.09 | [ 0.25, 0.61] | 4.64 | < .001", "", "Marginal effects estimated for vid_game",