expand_to_daily {geeLite}R Documentation

Expand Data to Daily Frequency

Description

Expands the input data frame to a daily frequency, filling in any missing dates within the observed range.

Usage

expand_to_daily(df_long, prep_fun)

Arguments

df_long

[mandatory] (data.frame) A long-format data frame with at least the columns id and date.

prep_fun

[mandatory] (function) Function used for pre-processing.

Value

A data frame with daily dates and preprocessed value column.


[Package geeLite version 1.0.2 Index]