tests/testthat/test-plot.effectsize_table.R

test_that("`plot.see_effectsize_table()` works", {
  library(effectsize)
  m <- aov(mpg ~ factor(am) * factor(cyl), data = mtcars)
  result <- eta_squared(m)
  expect_s3_class(plot(result), "gg")
})

test_that("`plot.see_equivalence_test()` works", {
  library(effectsize)
  m <- aov(mpg ~ factor(am) * factor(cyl), data = mtcars)
  result <- eta_squared(m)
  expect_s3_class(plot(result), "gg")
})

Try the see package in your browser

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

see documentation built on Nov. 3, 2023, 5:10 p.m.