tests/testthat/test_randomize.R

context("")
test_that("The randomize are", {
  expect_equal(randomize(block_size = 10, randomization_ratio = c(1, 1))$block, 10)
  expect_equal(randomize(block_size = 10, randomization_ratio = c(1, 1))$rand_ratio, c(1, 1))
})

Try the bayesCT package in your browser

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

bayesCT documentation built on July 2, 2020, 2:34 a.m.