- exo = as.data.frame( exo_df[i,2:(1+nb_exos)] )
- exo_hat = as.data.frame( exo_df[i,(1+nb_exos+1):(1+2*nb_exos)] )
- level = mean(serie, na.rm=TRUE)
- centered_serie = serie - level
- data$append(time, centered_serie, level, exo, exo_hat)
+ # TODO: 2 modes, "operational" and "testing"; would need PM10 predictions
+ data$append(time=time, value=serie, level_hat=mean(serie,na.rm=TRUE),
+ exo=exo_df[i,2:(1+nb_exos)], exo_hat=exo_df[i,(1+nb_exos+1):(1+2*nb_exos)])