regularize: Regularize an irregular tsibble using the specified interval...

View source: R/tsibble.R

regularizeR Documentation

Regularize an irregular tsibble using the specified interval and function

Description

Regularize an irregular tsibble using the specified interval and function

Usage

regularize(x, unit = "30 min", fun = lubridate::round_date)

Arguments

x

irregular tsibble

unit

character, the regularization interval, by default "30 min"

fun

function, the name of the function to apply for the regularization, by default 'lubridate::date_round'

Value

regularized tsibble

See Also

index_by

round_date

blog-post


BigelowLab/neracoos documentation built on Feb. 13, 2024, 9 a.m.