Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

since.na

Count distance since an NA has occurred


Description

Count number of rows since an NA has occurred

Usage

since.na(x)

Arguments

x

An Fts object

Value

an Fts object

Author(s)

Whit Armstrong

Examples

x <- fts(index=seq(from=Sys.Date(),by="days",length.out=100),rnorm(100))

x[10,] <- NA

since.na(x)

fts

R Interface to 'tslib' (a Time Series Library in C++)

v0.9.9.2
GPL-3
Authors
Whit Armstrong <armstrong.whit@gmail.com>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.