Count number of rows since an NA has occurred
since.na(x)
x
An Fts object
an Fts object
Whit Armstrong
x <- fts(rnorm(100)) x[10,] <- NA since.na(x)