Description Usage Arguments Details Value
Convenience function to prepare data for further analysis.
1 2 3 |
dat |
A data.frame or SptialPointsDataFrame. |
fields |
A list with named elements for lon, lat and id. Optionally also for date and time. |
projString |
A object of class CRS. |
projStringOut |
A object of class CRS, to which the data is transformed to. |
dateFormat |
A character indicating date format, see details. |
timeFormat |
A character indicating time format, see details. |
defaultId |
A character indicating default ID in case id is missing from fields. |
For date and time the lubridate conventions are used. E.g. day-month-year is abbreviated as dmy
.
A list of class RhrMappedData
. The list contains the following elements: dat
(SpatialPointsDataFrame, with the data), hasTS
(logical scalar indicating if there is a timestamp) and a list that gives information about the number of missing and duplicated points.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.