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.
library(quantmod) getSymbols('AAPL') n <- nrow(AAPL) a <- runif(n)
我想转换a为日期等于AAPL.
a
AAPL
到目前为止,我无法以任何方式做到这一点。
这很简单:
a <- xts(runif(nrow(AAPL)), index(AAPL))