View source: R/interpolate_time_series.R
interpolate_time_series | R Documentation |
This function is typically used to increase the resolution of time series data e.g hourly to minute. All numeric variables within the data will be interpolated. Character or factor variables are filled down.
interpolate_time_series(df, by = "hour")
df |
Input data frame or tibble |
by |
Increment of the new time series. Options are 'year', 'month', 'day', 'hour', 'min', or 'sec' |
Tibble
Shona Wilde
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.