Summary.bm_list {bittermelon} | R Documentation |
max, min, and range for bitmap objects
Description
max()
, min()
, and range()
will provide the maximum and minimum
integer values found in the bm_bitmap()
, bm_list()
, or bm_list()
objects.
The other four S3 base::Summary methods - all()
, any()
, sum
, and prod
-
are only supported for bm_bitmap()
objects
(which are subclasses of integer matrices).
Usage
## S3 method for class 'bm_list'
Summary(..., na.rm = FALSE)
Arguments
... |
Passed to relevant functions. |
na.rm |
Passed to |
Value
An integer vector.
Examples
font_file <- system.file("fonts/spleen/spleen-8x16.hex.gz", package = "bittermelon")
font <- read_hex(font_file)
min(font)
max(font)
range(font)
[Package bittermelon version 2.0.2 Index]