R/NDVI.R
fill_missing_ndvi.Rd
Fill in historic ndvi data to the complete timeseries being fit
fill_missing_ndvi(ndvi, level, last_time, moons = NULL)
ndvi data
specify "monthly" or "newmoon"
the last time step to have been completed
moon data (required if level = "newmoons" and forecasts are needed)
a data.frame with time and ndvi values
missing values during the time series are replaced using na.interp, missing values at the end of the time series are forecast using auto.arima with seasonality (using Fourier transform)