tests/testthat/testSimulation.R

test_that("simulation methods", {
	expect_equal( nrow( simulateLogistic( "dag{X}", N=1000 ) ), 1000 )
})

Try the dagitty package in your browser

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

dagitty documentation built on Jan. 21, 2021, 5:07 p.m.