R/checkq.R

Defines functions checkq

Documented in checkq

checkq <-
function(q)
 {
  if ((!inherits(q, "integer") && !inherits(q, "numeric")) || length(q) > 1 || q <= 0)
       stop("the multiplicative change in X, 'q', must be a positive 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.