tests/testthat/test-friedman.lsd.R

test_that("Example 8.11", {
  expect_equal(friedman.lsd(ch8$prey.preference, ch8$prey, ch8$larva,
                            c("Cyclops", "Anopheles"))$pval.asymp.stat,
               6.4649763)
  expect_equal(friedman.lsd(ch8$prey.preference, ch8$prey, ch8$larva,
                            c("Cyclops", "Anopheles"))$pval.asymp,
               1.9153983e-07)
})

Try the ANSM5 package in your browser

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

ANSM5 documentation built on Sept. 11, 2024, 6:45 p.m.