arrange()
arranges rows by variable; filter()
returns rows with matching
conditions; slice()
selects rows by position.
# S3 method for tbl_ts
arrange(.data, ...)# S3 method for grouped_ts
arrange(.data, ..., .by_group = FALSE)
# S3 method for tbl_ts
filter(.data, ...)
# S3 method for tbl_ts
slice(.data, ...)
A tsibble.
A set of unquoted variables for arrange()
.
Logical predicates defined in terms of the variables for filter()
.
Integer row numbers for slice()
.
TRUE
will sort first by grouping variable.