Nothing
context("Calculate baseline")
test_that("baseline is numeric", {
name <- c("anna", "john", "david", "ernest", "colin", "aileen")
gender <- c("F", "M", "M", "M", "M", "F")
df <- data.frame(FirstName = name,
gender = gender,
stringsAsFactors = FALSE)
baselin <- baseline(df, gender_col = "gender")
expect_is(baselin, "numeric")
})
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.