increase_timeseries_resolution: Increase time resolution of a timeseries data frame

View source: R/timeseries.R

increase_timeseries_resolutionR Documentation

Increase time resolution of a timeseries data frame

Description

Increase time resolution of a timeseries data frame

Usage

increase_timeseries_resolution(
  df,
  resolution_mins,
  method = c("interpolate", "repeat", "divide")
)

Arguments

df

data.frame or tibble, first column of name datetime being of class datetime and rest of columns being numeric

resolution_mins

integer, interval of minutes between two consecutive datetime values

method

character, being interpolate, repeat or divide as valid options. See increase_numeric_resolution function for more information.

Value

tibble


mcanigueral/dutils documentation built on Jan. 25, 2024, 3:34 p.m.