View source: R/manipulate_spacetime_data.R
dt_as_mysftime | R Documentation |
data.table
to an sftime
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
.
dt_as_mysftime(x, lonname, latname, timename, crs)
x |
a |
lonname |
character for longitude column name |
latname |
character for latitude column name |
timename |
character for time column name |
crs |
coordinate reference system |
an sftime
object
Eva Marques
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.