Create a sftime
object from one of data.frame
,
data.table
, sf
, sftime
, SpatRaster
,
SpatRasterDataset
, SpatVector
Arguments
- x
an object of class
data.frame
,data.table
,sf
,sftime
,SpatRaster
,SpatRasterDataset
orSpatVector
- ...
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.