Nothing
library(rankdist)
context("Kendall Neighbour")
rank = 1:5
test_that("Output type is correct",{
expect_is(KendallNeighbour(rank),"matrix")
expect_equal(nrow(KendallNeighbour(rank)),4)
expect_equal(ncol(KendallNeighbour(rank)),5)
})
test_that("Output value is correct",{
expect_equal_to_reference(file="KendallNeighbour.rds",KendallNeighbour(rank))
})
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.