context("factor")
test_that("combine", {
x = factor(c("a", "b"))
y = factor(c("b", "c"))
expect_equal(cFactor(x,y), factor(c("a", "b", "b", "c")))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.