We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xts subset does not allow NA in 'i' like zoo does.
NA
require(xts) x <- .xts(matrix(1:20, 10, 2), 1:10) z <- as.zoo(x) i <- c(1, NA, 5) z[i,] ## ## 1969-12-31 18:00:01 1 11 ## 1969-12-31 18:00:05 5 15 ## <NA> NA NA x[i,] ## Error in `[.xts`(x, i, ) : ## only zeros may be mixed with negative subscripts
Making this consistent will not be a breaking change since it is currently an error in xts.
The text was updated successfully, but these errors were encountered:
joshuaulrich
No branches or pull requests
xts subset does not allow
NA
in 'i' like zoo does.Making this consistent will not be a breaking change since it is currently an error in xts.
The text was updated successfully, but these errors were encountered: