| mts_arrange {MazamaTimeSeries} | R Documentation | 
Order mts time series by metadata values
Description
The variable(s) in ... are used to specify columns of
mts$meta to use for ordering. Under the hood, this
function uses arrange on mts$meta and then
reorders mts$data to match.
Usage
mts_arrange(mts, ...)
Arguments
mts | 
 mts object.  | 
... | 
 variables in   | 
Value
A reorderd version of the incoming mts time series object.
(A list with meta and data dataframes.)
Examples
library(MazamaTimeSeries)
example_mts$meta$latitude[1:10]
# Filter for all labels with "SCSH"
byElevation <-
  example_mts %>%
  mts_arrange(latitude)
byElevation$meta$latitude[1:10]
[Package MazamaTimeSeries version 0.3.0 Index]