mvSieve: Sieve of amount of missing values in a time series of...

View source: R/mvSieve.R

mvSieveR Documentation

Sieve of amount of missing values in a time series of satellite images

Description

This function computes the number of pixels with missing values (no data) in each element of a time series of satellite images. For practical purposes, this function assumes that the images have been stored in a set of different sub-directories; each sub-directory can represent a period/season/year.

Usage

mvSieve(dirs, filesPerDir, startPeriod, endPeriod, colNames = month.name)

Arguments

dirs

character vector given sub-directory names from which images will be read.

filesPerDir

numeric indicating how many images are stored in each directory.

startPeriod

numeric indicating in which period the time series first image was recorded.

endPeriod

numeric indicating in which period the time series last image was recorded.

colNames

character vector. Default month.name which assumes that filesPerDir=12.

Value

An n \times m matrix where n is equal to length(dirs) and m is equal to filesPerDir. By default, the row names of this matrix are equal to startPeriod:endPeriod and the column names are equal to colNames.

See Also

minmaxBlock


igapfill documentation built on June 8, 2025, 10:41 a.m.