Description Usage Arguments Details Value Examples
Given a grouped dataframe and a line, interpolate numeric variables and impute missing data from non numeric variables with an extended locf preserving the dimension
1 | interpolate_group_complete(missingdata, df, i = 1, year.var = "year")
|
missingdata |
A dataframe listing groups and variables that must be changed |
i |
Line index of missingdata that will be looked |
Intermediate function, do not use
A list with several components: lines
and cols
return the lines and columns concerned by imputation, after
returns the relevant lines and columns imputed while change
stores as a dummy whether data have been imputed with interpolation or extended locf.
1 | # See \code{interpolate_data_complete} source code
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.