double_serie {fast} | R Documentation |
This function is used internally for the FAST-algorithm. It duplicates the length of a data series assuming that the second part is a mirror image of the first part
double_serie(x)
x |
x is the data series to make longer |
This function reverses the model output series from a number of model runs for the FAST analysis and appends it to the original series. The last element of the existing series is not duplicated during this process.
This is required in order to process the model run results for the
FAST analysis with the fft
function.
If x=c(1,2,3,4) the returned vector is c(1,2,3,4,3,2,1)
Dominik Reusser
cukier 1978
x=c(1,2,3,4) double_serie(x)