R/is.wholenumber.R

is.wholenumber <- function(x, tol = .Machine$double.eps^0.5)
{
      return(abs(x - round(x)) < tol)
}      

Try the mvabund package in your browser

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

mvabund documentation built on May 2, 2019, 6:10 p.m.