tests/testthat/test-rBED.R

context("test-rBED")

test_that("Whether the function gives us the correct specified length", {

  Res=rBED(n=100,Betax=1,Betay=1,rho=0.85)
  expect_length(Res[,2],100)})

Try the MDBED package in your browser

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

MDBED documentation built on Feb. 22, 2020, 1:11 a.m.