tests/testthat/test-plot.effectsize_table.R

test_that("`plot.see_effectsize_table()` works", {
  m <- aov(mpg ~ factor(am) * factor(cyl), data = mtcars)
  result <- effectsize::eta_squared(m)
  set.seed(123)
  vdiffr::expect_doppelganger(
    title = "aov - eta_squared - dot plot",
    fig = plot(result)
  )
})

Try the see package in your browser

Any scripts or data that you put into this service are public.

see documentation built on June 22, 2024, 12:28 p.m.