dt_as_mysftime {amadeus} | R Documentation |
Convert a data.table
to an sftime
Description
Convert a data.table
object to an sftime
. x
must be
a data.table
object with "lon", "lat", and "time" columns to
describe the longitude, latitude, and time-orientation, respectively, of
x
.
Usage
dt_as_mysftime(x, lonname, latname, timename, crs)
Arguments
x |
a |
lonname |
character for longitude column name |
latname |
character for latitude column name |
timename |
character for time column name |
crs |
coordinate reference system |
Value
an sftime
object
Author(s)
Eva Marques
[Package amadeus version 1.2.3 Index]