tests/testthat/test-plot.check_homogeneity.R

test_that("`plot.see_check_homogeneity()` works", {
  m_lm <<- lm(len ~ supp + dose, data = ToothGrowth)
  result <- performance::check_homogeneity(m_lm)

  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.