Coerce functions
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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.