tests/testthat/test_simple.R

svm <- survivalsvm(Surv(time, status) ~ ., veteran, gamma.mu = 0.1)

test_that("survival svm returns class survivalsvm", {
  expect_is(svm, "survivalsvm")
})

Try the survivalsvm package in your browser

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

survivalsvm documentation built on May 2, 2019, 9:29 a.m.