Hello. I need to write 2 data tables on the same list in one Excel spreadsheet. I run the following code:
write.xlsx(c(VNINDEXlogreturns_train,VNINDEX_predictions_total), "VNINDEX_predictions.xlsx",sheetName = "Sheet1")
I'd like to get 2 data tables, separated by 1 or several columns on the same spreadsheet. But after running this code I don't get the desired result.
How can I solve this problem?
Thank you for your effort.