Learn R Programming

KarsTS (version 2.4.1)

getNAsGaps: getNAsGaps: get the gaps in a time series

Description

This function identifies the gaps existing in a time series and returns a table.It is used internally.

Usage

getNAsGaps(y)

Arguments

y

The time series (only values, not times)

Value

A matrix listing the initial and final indices of each gap