tests/testthat/test_5_graphs.R

context("graphs")

modello.reset()

tol = 1e-6

test_that("'simple graphs' are consistent", {
    expect_lt(test.linreg(), tol)
    expect_lt(test.logisticreg(), tol)
    expect_lt(test.multinomreg(), tol)
})

Try the modello package in your browser

Any scripts or data that you put into this service are public.

modello documentation built on Feb. 2, 2021, 9:06 a.m.