Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将分解的数据将分解的时间序列数据从 R 导出到 excel 中。任何人都可以帮忙吗?
您可以将数据与do.call
do.call
result <- do.call(cbind, A.modwt)
然后用于write.csv写入数据。
write.csv
write.csv(result, 'result.csv', row.names = FALSE)
一个选项tidyverse
tidyverse
library(dplyr) library(readr) bind_cols(A.modwt) %>% write_csv(result, 'result.csv')