Skip to content
Prev 5302 / 15274 Next

xts and na.omit "unsupported type"

Fabrizio Pollastri wrote:
x>y is a logical comparison. na.omit want s a single series as an argument.

so, cbind your series first, na.omit, and then compare

or skip all that and do:

x[which(x>y)]

and please note that this was a question for r-help, not R-SIG-Finance, 
as it has nothing to do with finance.

Regards,

    - Brian