Nothing
context("K2")
test_that("K2 works for (1, 2)", {
expect_equal(K2(1:2), 2)
})
test_that("K2 works for rnorm(50)", {
set.seed(1)
X <- rnorm(50)
expect_equal(K2(X), 50*0.044, tolerance = 1e-5)
})
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.