test_that("result of contours", {
set.seed(100)
data1 <- rnorm(n = 300, mean = 3, sd = 0.5)
set.seed(400)
data2 <- rnorm(n = 300, mean = 3, sd = 0.5)
results <- BNP.test(x=data1,y=data2, n.mcm=1000)
expect_s3_class(contours.plot(results_BNP = results), "plotly")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.