View source: R/filter_last_loc.R
filter_last_loc | R Documentation |
Select the last location for each individual
filter_last_loc(x, ..., order_by)
x |
A data frame containing collar data. |
... |
unquoted column name(s) to be used as a grouping variable e.g. if "id" is used, a single row will be returned for each id. |
order_by |
A character vector of the column(s) to be used to arrange the data e.g. if the date/time column is used rows will be ordered chronologically. |
A data frame with the last location for each individual.
## Not run:
filter_last_loc(collar_data, ... = id, order_by = dt)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.