tests/testthat/test_pvalue.R

context("pvalue tests")
test_that("Test ttest_pavlue returns pvalue", {
  x = c(1:10)
  y = c(5:15)
  p = pvalue(x, y)
  expect_equal(p, 0.004210108)
})
dm89/jsRhelper documentation built on May 15, 2019, 9:18 a.m.