fill_dates | R Documentation |
fill_date()
finds implicitly missing observations in a time-indexed data
frame and fills them with fill_na
. start
and end
values can be supplied
to fill dates outside the range of the data.
fill_dates(data, date_col, start = NULL, end = NULL, fill_na = NA)
data |
A data frame or data frame extension (e.g. a tibble) |
date_col |
The column to use as the time index |
start |
An optional start date for the period to fill |
end |
An optional end date for the period to fill |
fill_na |
The value to use when creating observations for implicitly missing data |
A tibble
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.