findBlocks: findBlocks Find blocks of missing points from a mask of a...

findBlocksR Documentation

findBlocks Find blocks of missing points from a mask of a time series Scans element-wise to find blocks of missing points

Description

findBlocks Find blocks of missing points from a mask of a time series Scans element-wise to find blocks of missing points

Usage

findBlocks(mask)

Arguments

mask

Usage: findBlocks(mask)

Value

a matrix of missing points as blocks, size M * 3. The start-point, end-point and length of each block are recorded row-wise

Examples

library("tsinterp") 
          data("flux")
          miss <- flux$S 
          miss[miss == FALSE] <- NA
          blocks <- findBlocks(miss)


wesleyburr/tsinterp documentation built on Jan. 28, 2024, 11:16 a.m.