as.uint8: Creates objects of type 'uint8'

Description Usage Arguments Value

Description

The input is first converted to integer and this result (modulu 256) is converted to R's built-in raw datatype.

Usage

1

Arguments

x

Numeric vector. x will be converted to integer, and then modulo 256 to bring it in the range 0-255. NA, NaN and Inf values will cause an error.

Value

Vector of uint8 values.


coolbutuseless/uint8 documentation built on May 29, 2019, 11:04 p.m.