tests/testthat/test-validate-smoking-ume.R

context("[validate] Modified from NICE TSD4 smoking example")

test_that("The summaries match", {
  network <- mtc.network(data.ab=read.table('../data/smoking-ume.data.txt', header=TRUE))
  result <- replicate.example("smoking-ume", network, likelihood="binom", link="logit", type="ume")
  compare.summaries(result$s1, result$s2)
})

Try the gemtc package in your browser

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

gemtc documentation built on July 9, 2023, 5:33 p.m.