Description Usage Arguments Value Author(s) Examples

View source: R/is.wholenumber.R

Checks whether a numeric value is integral, up to machine or other specified prescision.

1 | ```
is.wholenumber(x, tol = .Machine$double.eps^0.5)
``` |

`x` |
numeric vector to be tested. |

`tol` |
The desired precision. |

A logical vector of the same length as `x`

, containing the
results of the test.

Robin Evans

1 2 | ```
x = c(0.5, 1, 2L, 1e-20)
is.wholenumber(x)
``` |

rje42/rje documentation built on Dec. 10, 2018, 7:01 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.