na.omit {ursa} | R Documentation |
Drop bands which don't have data.
Description
The bands with band_blank images, are omitted.
Usage
## S3 method for class 'ursaRaster'
na.omit(object, ...)
Arguments
object |
Object of class |
... |
Ignored. For consistence with definition of generic function. |
Value
Object of class ursaRaster
, which has no bands without any data.
Author(s)
Nikita Platonov platonov@sevin.ru
See Also
Examples
session_grid(NULL)
session_grid(regrid(mul=1/4))
a <- ursa_new(value=1:3)
print(a)
a[2] <- NA
print(a)
a2 <- na.omit(a)
print(a2)
[Package ursa version 3.10.4 Index]