Defines functions argcheck

argcheck = function(argvals) {

#  check ARGVALS

  if (!is.numeric(argvals)) stop("ARGVALS is not numeric.")

  argvals <- as.vector(argvals)

  if (length(argvals) < 2) stop("ARGVALS does not contain at least two values.")



Try the fda package in your browser

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

fda documentation built on May 29, 2024, 11:26 a.m.