inst/tinytest/test_entropy.R

# Test that the two entropy implementations give same results
expect_equal(ess:::joint_entropy(cars), ess:::joint_entropy2(cars))

Try the ess package in your browser

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

ess documentation built on May 31, 2021, 9:10 a.m.