Tsibble

tsibble

Create a tsibble object

as_tsibble

Coerce to a tsibble object

is_tsibble is_grouped_ts

Test if the object is a tsibble

Temporal-context verbs

tsummarise tsummarize

Aggregate over calendar periods

fill_na

Turn implicit missing values into explicit missing values

Window functions

slide slider

Sliding window calculation

tile tiler

Tiling window calculation

stretch stretcher

Stretching window calculation

Index functions

yearmonth yearquarter

Represent year-month or year-quarter objects

guess_frequency

Guess a time frequency from other index objects

Helpers

id

Identifier to construct structural variables

key key_vars measured_vars

Return key and measured variables

interval index

Return index and interval from a tsibble

is_regular is.regular

If a tsibble is spaced at regular time or not

key_size n_keys

Compute sizes of key variables

case_na

A thin wrapper of dplyr::case_when() if there are NAs

Extend tsibble

index_sum

Extensible index type to tsibble

pull_interval time_unit

Extract time interval from a vector

Dplyr verbs

arrange filter slice

Row-wise verbs

select rename mutate summarise summarize

Column-wise verbs

group_by ungroup

Group by one or more variables

Coerce to other objects

as.ts

Coerce a tsibble to a time series

Data

pedestrian

Pedestrian counts in the city of Melbourne

tourism

Australian domestic overnight trips