context("Test rowMedian")
test_that("Convert human date to time class with selected timezone",
code = {
medianColumn <- 0:100
testDataFrame <-
data.frame(medianColumn - 2,
medianColumn - 1,
medianColumn,
medianColumn + 1,
medianColumn + 2)
expect_equal(rowMedian(testDataFrame),
medianColumn)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.