Description Usage Arguments Details See Also Examples
Test if is a natural number
1 | is_natural(x)
|
x |
an R object |
Zero is not included in the set of natural numbers
1 2 3 4 5 6 7 | is_natural(1)
is_natural(0)
is_natural(seq(-2, 3))
is_natural(iris$Species)
M = matrix(seq(-3, 2), 2, 3)
is_natural(M)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.