R/rayimg.R
sub-.rayimg.Rd
Subset a rayimg without losing attributes
# S3 method for class 'rayimg' x[..., drop = TRUE]
Default NULL. A rayimg object.
NULL
rayimg
Default “. Standard subsetting indices.
Default TRUE. Whether to drop dimensions (as in base [).
TRUE
[
A subset of x. Preserves the filetype attribute. Preserves the rayimg class if the result still has dimensions (array/matrix).
x
filetype