ursaRaster | R Documentation |
ursaRaster
class.
ursaRaster
is S3 class for manipulation with georeferred raster images. See ‘Value’ section.
is.ursa
checks inhering to class ursaRaster
## S3 method for class 'ursaRaster'
print(x, digits = NA, grid = FALSE, raw = FALSE, caption = FALSE, ...)
## S3 method for class 'ursaRaster'
str(object,...)
is.ursa(obj, ref = NULL)
is_ursa(obj, ref = NULL)
x , object |
| ||||||||||||||||||
obj |
Any. | ||||||||||||||||||
digits |
Passed to | ||||||||||||||||||
grid |
Logical. If | ||||||||||||||||||
raw |
Logical. If | ||||||||||||||||||
caption |
Logical of character. Print title or other identificational info. If logical and | ||||||||||||||||||
... |
Passed to | ||||||||||||||||||
ref |
Character or
|
is.ursa()
is designed mainly for developers to check arguments' class in function's call. is_ursa
is a synonym to is.ursa
.
Stucture of ursaRaster
class is generated by non-public .raster.skeleton()
function.
ursaRaster
is R's S3 class. It is a list with items:
grid |
Geospatial properties. |
con |
Connection properties. |
value |
2-dimensional numerical or integer matrix of classes |
dim |
Dimension of |
name |
Band names |
colortable |
Color table. |
is.ursa(x)
returns TRUE
, if class of x
is ursaRaster
Nikita Platonov platonov@sevin.ru
session_grid(NULL)
print(methods(class="ursaRaster"))
a <- pixelsize()
print(a)
print(a,grid=TRUE)
s <- substr(as.character(sessionInfo()),1,48)
b <- rep(a,length(s))
bandname(b) <- s
print(b)
require(datasets)
data(volcano)
print(is.ursa(a))
print(is.ursa(volcano))
print(is.ursa(as.ursa(volcano)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.