embedData: embedData: embeds a time series
Description
This function embeds a time series and adds NAs so that the embedded data have the same length as the original time series.It is used internally
Usage
embedData(TSData, embDim, embDelay)
Arguments
TSData
Values of the time series
Value
A matrix of embedded data, with as many NAs as necessary so that it has the same length as the original time series.