R/is.wholenumber.R

Defines functions is.wholenumber

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

Try the netSEM package in your browser

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

netSEM documentation built on Sept. 8, 2023, 5:26 p.m.