as_stars | R Documentation |
`stars`
Coercion from raster ursaRaster
object to raster stars
object defined in package stars.
as_stars(obj)
obj |
Object of class |
Simple coercion to stars
object of package stars. Currently, color tables and attribution tables are not supported.
Object of class stars
for argument of class ursaRaster
. Otherwise, NULL
.
Nikita Platonov platonov@sevin.ru
session_grid(NULL)
a <- ursa_dummy(3)
x <- as_stars(a)
class(x)
if (requireNamespace("stars")) {
print(x)
b <- as_ursa(x)
print(a)
print(b)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.