View source: R/manipulate_spacetime_data.R
as_mysftime | R Documentation |
sftime
objectCreate a sftime
object from one of data.frame
,
data.table
, sf
, sftime
, SpatRaster
,
SpatRasterDataset
, SpatVector
as_mysftime(x, ...)
x |
an object of class |
... |
if x is a data.frame or data.table: lonname, latname, timename and crs arguments are required. If x is a sf or sftime, timename argument is required. If x is a terra::SpatRaster, varname argument is required. |
an sftime
object with constrained time column name
Eva Marques
check_mysftime, sf_as_mysftime, data.frame, data.table::data.table, terra::rast, terra::sds, terra::vect
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.