Nothing
test_that('-1.', {
s1 = c(0, 1)
s2 = c(1)
scc = simple.cc(s1, s2)
expect_equal(scc, -1)
})
test_that('Normalise.', {
s1 = c(0, 1, 2)
s2 = c(1, 2)
scc = simple.cc(s1, s2, norm = T)
expect_equal(scc, -1/3)
})
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.