context("Z Normalization")
test_that("Normalization is working correctly", {
expect_equal(z_normalize(c(1,2,3,4,5)),
c(-1.2649111, -0.6324555, 0.0000000, 0.6324555 , 1.2649111),
tolerance=1e-3)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.