Nothing
y <- 1:10
predicted <- 1.1 * y
theta <- seq(0.9, 1.3, by = 0.01)
two_models <- cbind(m1 = predicted, m2 = 1.2 * y)
test_that("Murphy diagram can be plotted without error message", {
expect_no_error(murphy_diagram(y, two_models, theta = theta))
})
test_that("Murphy diagram with plot = FALSE gives data.frame", {
expect_true(is.data.frame(murphy_diagram(y, two_models, theta = theta, plot = FALSE)))
})
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.