tests/testthat/test-vi_works.R

library(metaforest)

test_that("vi works", {
  expect_error({
    MetaForest(yi~.,
               data = fukkink_lont,
               vi = "vi",
               study = "id_exp",
               whichweights = "random",
               num.trees = 20000)
  }, NA)
})

Try the metaforest package in your browser

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

metaforest documentation built on May 29, 2024, 11:38 a.m.