Description Usage Arguments Value Author(s) Examples
as.integer
for object of class ursaRaster
truncates decimal part of image values and then converts to type integer
.
1 2 | ## S3 method for class 'ursaRaster'
as.integer(x, ...)
|
x |
|
... |
Other arguments which passed to function |
Object of class ursaRaster
where storage.mode
of values is integer
.
Nikita Platonov platonov@sevin.ru
1 2 3 4 5 6 7 8 | session_grid(NULL)
a <- pixelsize()
a <- a-min(a)+0.5
str(ursa_value(a))
print(storage.mode(a$value))
b <- as.integer(a)
str(ursa_value(b))
print(storage.mode(b$value))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.