missing_data | R Documentation |
This function attempts to automatically detect missing data (for
instance due to writing errors) in track
tables.
missing_data(x, begin = NULL, end = NULL, step = NULL)
x |
A |
begin |
A full time stamp (date+time) in |
end |
A full time stamp (date+time) in |
step |
A |
A track table of all observations with missing data. The missing data
is indicated with NA
.
Simon Garnier, garnier@njit.edu
track
# Create data set with missing time stamps
data(short_tracks)
t_df <- track(x = short_tracks$x, y = short_tracks$y, t = short_tracks$t,
id = short_tracks$id, proj = "+proj=longlat",
tz = "Africa/Windhoek", table = "df")
t_df <- t_df[-c(10, 100), ]
# Find missing data
missing <- missing_data(t_df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.