createRandGaps {KarsTS} | R Documentation |
createRandGaps: create random gaps in a time series
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
[Package KarsTS version 2.4.1 Index]