powered by
Find the first positions of all gaps and their sizes respectively within a multivariate time series.
Indexes_size_missing(data)
a multivariate data
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).
# 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