R/varOdd.R

varOdd =function(Numbers)
#Determines if an integer number is Odd
{
  if(all(Numbers ==round(Numbers)))
  {
    Result = Numbers%%2
  }
  else 
  {
      stop('Numbers must contain only integers')
  }
  return(Result==1)
}

Try the lmSupport package in your browser

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

lmSupport documentation built on May 2, 2019, 2:14 p.m.