[R] Counting Na values on a time serie only on the past datas

anna lippelanna24 at hotmail.com
Fri Jan 22 17:56:26 CET 2010


Hello everyone, I have a time serie of n values, some are na's. I want to get
a vector of size n whose elements represent on the time t < n the number of
missing values between o and t. I know I can do it with a loop but I wanted
to know if there was a function or a special syntax to do this. Thanks a
lot!
-- 
View this message in context: http://n4.nabble.com/Counting-Na-values-on-a-time-serie-only-on-the-past-datas-tp1101617p1101617.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list