Description Usage Arguments Value
Filling missing intermediate year vector
1 2 | fill_dataframe(df, year.var = "year", label.var = c("ref_area", "area",
"Country_Transco", "Zonier"))
|
df |
Dataframe with unbalanced year vector |
year.var |
Column name of the year variable |
label.var |
Columns that should be filled by constant values and not by NAs |
Dataframe with intermediate years added filled by NAs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.