I have a list and I have managed to extract a data.frame for the first matrix "t
" using:
forecast_t<-as.data.frame(forecast$t)
I was wondering if it is possible to do it to the rest of the elements using :
for (i in t,ws,wdir,hs,tp,tz,mdir) {
forecast_i<-as.data.frame(forecast$i)
}
Thank you