tests/testthat/test-rng.test.R

test_that("Example 4.17", {
  expect_equal(rng.test(ch4$dates.as.degrees)$pval.stat, 1.01229097)
  expect_equal(rng.test(ch4$dates.as.degrees)$pval, 0.000022540754)
})

test_that("Exercise 4.13", {
  expect_equal(rng.test(ch4$accident.bearings)$pval, 0.0074382381)
})

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.