Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

asShort.Java

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

Various Programming Utilities

v2.10.1
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.