Nothing
context("Information value")
test_that("test normal function", {
X <- mtcars$gear
Y <- mtcars$am
expect_error(ExpInfoValue(X, Y))
})
test_that("test output object", {
X <- mtcars$gear
Y <- mtcars$am
ivvaue <- ExpInfoValue(X, Y, valueOfGood = 1)
expect_output(str(ivvaue), "List of 2")
expect_equal(ivvaue$`Information values`, 0.44)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.