R/checkc.R

Defines functions checkc

Documented in checkc

checkc <-
function(c)
 {
  if ((!inherits(c, "integer") && !inherits(c, "numeric")) || length(c) > 1)
       stop("the additive change in X, 'c', must be a number")
 }

Try the tlm package in your browser

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

tlm documentation built on May 2, 2019, 2:11 p.m.