powered by
If there exist lest than four missing values, represented by NA values, fill with linearly interpolated values.
lin_inter_missing_energy(data, threshold = 4)
The data frame with 'missing values' filled in.
A data frame with an 'elec_cons' column.
The maximum number of consective values that may be filled with interpolated values. By default four.
if (FALSE) { lin_inter_missing_energy(data) }
Run the code above in your browser using DataLab