fill.na: Fill NAs in the data with linear interpolation

View source: R/accessory_functions.R View source: R/accessory_functions.R

fill.naR Documentation

Fill NAs in the data with linear interpolation

Description

This function fills NAs based on the average of the past 10 years (or less if less are presente) averaging day by day

Usage

fill.na(dataframe)

Arguments

dataframe

the weather data frame

Value

a data frame,, same structure of the input data frame

Author(s)

Lorenzo Menichetti ilmenichetti@gmail.com


ilmenichetti/reclim documentation built on Sept. 23, 2023, 7:15 p.m.