tests/testthat/helper_data.R

fake_problem <- function() {
  x <- matrix(rnorm(100 * 10), nrow = 100)
  y <- rnorm(100)
  tmt <- rbinom(100, 1, prob = 0.5)

  list(x = x, y = y, tmt = tmt)
}
wlattner/hete documentation built on May 4, 2019, 12:57 a.m.