R/validate.lambda.rawData.R

validate.lambda.rawData <- function(lambda){
  
  if(!is.numeric(lambda)){
    msg <- 'lambda should be numeric'
    stop(msg)
  }
  
  if(length(lambda) > 1){
    msg <- 'lambda should be a numeric number when using ARTP'
    stop(msg)
  }
  
}

Try the ARTP2 package in your browser

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

ARTP2 documentation built on May 2, 2019, 3:38 p.m.