Description Usage Arguments Value Author(s) Examples
This function creates a large continuous gap within a univariate signal. Gap size is defined as a percentage of input vector length. By default, the created gap starts at a random location.
1 | gapCreation(X, rate, begin = NULL)
|
X |
input vector |
rate |
size of desired gap, as a percentage of input vector size |
begin |
location of the begining of the gap (random by default) |
gapCreation returns a list containing the following elements:
output_vector: output vector containing the created gap
input_vector: original vector used as input
begin_gap: index of the begining of the gap
rate: size of the created gap in percentage of the input vector length
gap_size: length of the created gap
Camille Dezecache, Hong T. T. Phan, Emilie Poisson-Caillault
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.