isSeriesContinuous: Test for continuous (non NA interrupted) series

Description Usage Arguments Details Value Author(s)

View source: R/isSeriesContinuous.R

Description

isSeriesContinuous test whether a vector contains one non interrupted sequence of values (i.e. no NaN in between).

Usage

1

Arguments

x

numeric vector: series to test

Details

The function returns TRUE when the vector contains one (and only one) non NA interupted sequence of values. E.g. it would also return TRUE for a vector that contains a sequence of NAs at the beginning and/or end of the vector.

Value

logical: whether the series contains gaps or not.

Author(s)

Jannis v. Buttlar


JBTools documentation built on May 2, 2019, 5:47 p.m.