lin_inter_missing_energy {PVplr} | 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)