tests/testthat/test-validate-welton-diastolic.R

context("[validate] Welton et al., Am J Epidemiol 2009;169:1158-1165 Diastolic BP")

test_that("The summaries match", {
  network <- dget('../data/welton-diastolic.txt')
  result <- replicate.example("welton-diastolic", network, likelihood="normal", link="identity")
  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.