| glance.Spat | R Documentation |
Spat* objectGlance accepts a model object and returns a tibble::tibble() with exactly
one row of Spat. The summaries are typically geographic information.
## S3 method for class 'SpatRaster'
glance(x, ...)
## S3 method for class 'SpatVector'
glance(x, ...)
x |
A |
... |
Ignored by this method. |
glance methods always return a one-row data frame. See Methods.
Implementation of the generic generics::glance() method for
Spat*. objects.
glimpse.Spat, generics::glance().
Other generics methods:
required_pkgs.Spat,
tidy.Spat
library(terra)
# SpatVector
v <- vect(system.file("extdata/cyl.gpkg", package = "tidyterra"))
glance(v)
# SpatRaster
r <- rast(system.file("extdata/cyl_elev.tif", package = "tidyterra"))
glance(r)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.