genGapExample: A function to generate a gap set example

Description Usage Arguments Value Author(s)

View source: R/genGapExample.R

Description

A function to generate a gap set example.It can be assigned to the KTSEnv environment.

Usage

1
genGapExample(timSer, lGaps, nGaps, name = "GS", InKTSEnv = TRUE)

Arguments

timSer

The time series where the gaps are generated

lGaps

The length of the gaps

nGaps

The number of gaps

name

A name for the gap set. It defaults to GS. When InKTSEnv is FALSE, the name is not necessary.

InKTSEnv

Assign to the environment KTSEnv (TRUE) or not (FALSE)

Value

The gap set

Author(s)

Marina Saez Andreu


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