Nothing
skip_on_os(c("mac", "solaris"))
test_that("values_at / pretty_range", {
x <- 1:1000
expect_identical(pretty_range(n = 5)(x), pretty_range(x, n = 5))
expect_identical(values_at(values = "meansd")(x), values_at(x, values = "meansd"))
expect_identical(values_at(values = "minmax")(x), values_at(x, values = "minmax"))
})
test_that("values_at", {
x <- 1:1000
mu <- mean(x)
stddev <- sd(x)
expect_equal(
round(c(mu - stddev, mu, mu + stddev), 1),
round(values_at(x), 1),
tolerance = 1e-3
)
})
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.