Time warp a data-series using a time-offsetting model.
A first time-series vector or a data.frame
containing time-series to use a reference when warp-fitting
y.
A second time-series vector or a data.frame
containing time-series to warp-fit with x.
If x or y are data.frames, the names
of time-series to warp-fit.
A function describing the warp-fitting model
to be applied.
The lowest values for fun, one per parameter.
The highest values for fun, one per parameter.
Other arguments, typically applied by generic
alignment methods or ignored.
By default, fit_align returns x and y
as an aligned data.frame. It also provides a lag correlation
profile (plot) and alignment report. The extra function,
output, can be used to modify this behavior (see also
alignment).