Nothing
context("factornum turns factors with numeric levels to numerics as expected")
test_that("factornum turns a factor with numeric levels into numeric vector", {
expect_equal(
factor_to_num(factor(c(3, 4, 9, 4, 9), levels = c(3, 4, 9))),
c(3, 4, 9, 4, 9)
)
})
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.