findBlocks | R Documentation |
findBlocks Find blocks of missing points from a mask of a time series Scans element-wise to find blocks of missing points
findBlocks(mask)
mask |
Usage: findBlocks(mask) |
a matrix of missing points as blocks, size M * 3
. The start-point, end-point and length of each block are recorded row-wise
library("tsinterp")
data("flux")
miss <- flux$S
miss[miss == FALSE] <- NA
blocks <- findBlocks(miss)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.