tests/testthat/helper_functions.R

# Used to check that x is a vector in which x[i+1] >= x[i] for all i.
expect_nondecreasing <- function (x, tol=1e-7)
  expect_equal(diff(x) >= -tol,rep(TRUE,length(x) - 1))

Try the fastglmpca package in your browser

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

fastglmpca documentation built on May 29, 2024, 10:49 a.m.