inst/unitTests/test_pick_lambda.R

test_pick_lambda <- function() {

  lambda <- matrix(1:20, nrow=10, byrow=FALSE)
  ret    <- iCARE:::pick_lambda(5, lambda)

  checkEqualsNumeric(ret, 15, tolerance=1.0e-8)
  
}
wheelerb/iCARE documentation built on May 17, 2019, 2:02 p.m.