tests/testthat/test-bartlett-output.R

test_that("output from bartlett test is as expected when using variables", {
  expect_snapshot(ols_test_bartlett(hsb, 'read', 'write'))
  expect_snapshot(ols_test_bartlett(descriptr::mtcarz, 'mpg', group_var = 'vs'))
})

Try the olsrr package in your browser

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

olsrr documentation built on May 29, 2024, 12:35 p.m.