Learn R Programming

FSMUMI (version 1.0)

Indexes_size_missing: Indexes and sizes of gaps

Description

Find the first positions of all gaps and their sizes respectively within a multivariate time series.

Usage

Indexes_size_missing(data)

Arguments

data

a multivariate data

Value

Return a list per signal in which each element containing the position of the starting of a gap (1st column) and its size (2nd column).

Examples

Run this code
# NOT RUN {
data(dataFSMUMI)
X <- dataFSMUMI
rate <- 0.1
ngaps <- 1
incompleted_signal <- Creating_gaps(X, rate,1)
id_NA <- Indexes_size_missing(incompleted_signal)
# }

Run the code above in your browser using DataLab