createRandGaps: createRandGaps: create random gaps in a time series

Description Details Value Author(s)

View source: R/createRandGaps.R

Description

This function creates N gaps of length M, randomly distributed through a time series. The inputs are the time series, the number of gaps and their length. It is used through the Random Gaps button in the Gap Sets menu.

Details

The new gaps will not overlay previously existing gaps.

Value

The function creates a gap set and applies it to a copy of the input time series.Both the gap set and the new time series appear in the environment susEnv.

Author(s)

Marina Saez Andreu


KarsTS documentation built on Jan. 16, 2021, 5:07 p.m.