Learn R Programming

bootUR (version 0.1.0)

find_nonmissing_subsample: Find Non-Missing Subsamples

Description

Find Non-Missing Subsamples

Usage

find_nonmissing_subsample(X)

Arguments

X

A (\(T\)x\(N\))-matrix of \(N\) time series with \(T\) observations. Data may also be in a time series format (e.g. ts, zoo or xts). Assumes a prior check on missing vaues in-sample has been done.

Value

A list with the following components

range

(2x\(N\))-dimensional matrix containing the first and last non-missing observation in each column of X.

all_equal

Logical value indicating whether all series have the same non-missing indices.