tests/testthat/tests.R

test_that("Kern function works", {
  expect_equal(as.numeric(round(Kern.FUN(1,1,1),1)), 0.4)
})

Try the OSsurvival package in your browser

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

OSsurvival documentation built on Sept. 29, 2022, 5:14 p.m.