asShort.Java: Converts a numeric to a Java short

Java$asShortR Documentation

Converts a numeric to a Java short

Description

Converts a numeric to a Java short.

Usage

## 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(s)

Henrik Bengtsson

See Also

For more information see Java.


R.utils documentation built on Nov. 18, 2023, 1:09 a.m.