st_geometry {sftime} | R Documentation |
Drops the geometry column of sftime
objects
Description
Drops the geometry column of an sftime
object. This will also drop
the sftime
class attribute and time_column
attribute.
Usage
## S3 method for class 'sftime'
st_drop_geometry(x, ...)
Arguments
x |
An |
... |
ignored |
Value
x
without geometry column and without sftime
and
sf
class.
Examples
# dropping the geometry column will also drop the `sftime` class:
g <- st_sfc(st_point(1:2))
time <- Sys.time()
x <- st_sftime(a = 3, g, time = time)
st_drop_geometry(x)
[Package sftime version 0.2-0 Index]