tests/testthat/test-powered_r.R

test_that("powered_r", {
  expect_true(powered_r(0.2, 200)$power > 0.80)
})

Try the Keng package in your browser

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

Keng documentation built on Sept. 1, 2026, 5:07 p.m.