lin_inter_missing_energy | R Documentation |
If there exist lest than four missing values, represented by NA values, fill with linearly interpolated values.
lin_inter_missing_energy(data, threshold = 4)
data |
A data frame with an 'elec_cons' column. |
threshold |
The maximum number of consective values that may be filled with interpolated values. By default four. |
The data frame with 'missing values' filled in.
## Not run: lin_inter_missing_energy(data) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.