coerce | R Documentation |
asInteger
: convert x
to an integer
and throw an error if x
is not
a numeric
.
asInteger(x)
x |
input argument. |
Johannes Rainer
## Convert numeric to integer
asInteger(3.4)
asInteger(3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.