Converts a numeric to a Java short.

## Static method (use this):
## Java$asShort(x, ...)

## Don't use the below:
# S3 method for class 'Java'
asShort(static, x, ...)

Arguments

x

A numeric vector.

...

Not used.

Value

Returns an integer vector.

Author

Henrik Bengtsson

See also

For more information see Java.