I am using R and the spacetime package.
I am having problems using STFDF.
I want to use the STF data-structure since I have spacetime data with recurrent observations for fixed spatial coordinates. The problem is that there are some missing values here and there (both space and time wise). What should I do to fill the gaps? Can I put NAs in it?
The data is composed by daily ozone mean measures for each station during a period of 1 year (2016, Jan to Dec). The stations are 30, however most of them don't have 366 records. Here is the distribution of stations by number of yearly measures:
How should I handle this? Do I need to add the records putting NAs / interpolating them? Can spacetime work around the NAs or automatically interpolate them?