tests/testthat/test-predict-edge.R

test_that("multiplication works", {
  data <- matrix(c(1, 1, 2, NA, 1, 2, 1, 1, NA, 1, 1, 2, 1, 1, 2), nrow = 3)
  colnames(data) <- letters[1:5]
  rownames(data) <- LETTERS[1:3]
  expect_true(!NA %in% (predictEdge(data, method = c("als"))))
})

Try the NIMAA package in your browser

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

NIMAA documentation built on April 11, 2022, 5:05 p.m.