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.


HenrikBengtsson/R.utils documentation built on March 7, 2024, 9:37 a.m.