na.contiguous: Find Longest Contiguous Stretch of non-NAs

Description Usage Arguments Value See Also Examples

Description

Find the longest consecutive stretch of non-missing values in a time series object. (In the event of a tie, the first such stretch.)

Usage

1
na.contiguous(object, ...)

Arguments

object

a univariate or multivariate time series.

...

further arguments passed to or from other methods.

Value

A time series without missing values. The class of object will be preserved.

See Also

na.omit and na.omit.ts; na.fail

Examples

1

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.