Find NA in xts object
On Sat, Mar 16, 2013 at 2:25 PM, Pete <freerisk3 at gmail.com> wrote:
Hi to all, i'm new to R I have an xts object. Can i find: a) how many NA are in my object ?
sum(is.na(obj))
b) eventually where (in which line) they are
which(is.na(obj))
Thank you
Best, -- Joshua Ulrich | about.me/joshuaulrich FOSS Trading | www.fosstrading.com R/Finance 2013: Applied Finance with R | www.RinFinance.com