Nothing
test_that("sigmoid function works", {
theta <- rnorm(100, 0, 10)
sig <- 1 / (1 + exp(-theta))
expect_equal(sigmoid(theta), sig)
})
test_that("sigmoid rejects mismatching", {
expect_error(sigmoid("aaa"), "non-numeric input")
})
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.