genGapExample {KarsTS}R Documentation

A function to generate a gap set example

Description

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

Usage

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


[Package KarsTS version 2.4.1 Index]