Description Usage Arguments Value
Function that tets whether input is a whole number and returns T/F. This is used creating the pmf of discrete distributions. This is taken from the example in as.integer documentation included in base.
1 | is_wholenumber(x, tol = .Machine$double.eps^0.5)
|
x |
A number |
tol |
the tolerance used to compare x and round(x) |
Logical is the number an integer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.