Convert a SpatVector
object to an sftime
object. x
must
contain a time-defining column, identified in timename
.
Usage
spatvector_as_sftime(x, timename = "time")
Arguments
- x
a SpatVector
object
- timename
character for time column name in x
(default: "time")