People often use sum() to count how many boolean values are true, not length).
Sent from the all new AOL app for Android
On Sat, Jul 2, 2022 at 2:14 PM, Andrew Simmons wrote:
It's supposed to match the length. Perhaps you meant to use which(is.na())?
On Sat, Jul 2, 2022, 14:04 akshay kulk
Dear memebers,
I have list of stock data OHLCData for 500 stocks,
15 of whom are NA's. The following is the code:
require(quantmod)
getOHLCData <- function(NSESym) {
OHLCData1 <- list()
for(i in 1:500){
OHLCData1[[i]] <- tryCatch(getSymbols(NSESym[i], auto.assi
2 matches
Mail list logo