lin_inter_missing_energy {PVplr}R Documentation

Linearly interpolate missing energy values.

Description

If there exist lest than four missing values, represented by NA values, fill with linearly interpolated values.

Usage

lin_inter_missing_energy(data, threshold = 4)

Arguments

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.

Value

The data frame with 'missing values' filled in.

Examples

## Not run: 
lin_inter_missing_energy(data)

## End(Not run)

[Package PVplr version 0.1.2 Index]