plot.ptw {ptw} | R Documentation |
The function plots a ptw
object. It shows either the original and
warped signals, or the warping function.
## S3 method for class 'ptw' plot(x, what = c("signal", "function"), type = c("simultaneous", "individual"), ask = TRUE, ...)
x |
object of class 'ptw' |
what |
|
type |
|
ask |
logical, whether to ask before showing a new plot |
... |
further arguments to the plotting functions |
Jan Gerretzen, Ron Wehrens, Tom Bloemberg
data(gaschrom) ref <- gaschrom[1:8,] samp <- gaschrom[9:16,] gaschrom.ptw <- ptw(ref, samp, warp.type = "individual", optim.crit = "RMS", init.coef = c(0, 1, 0, 0)) plot(gaschrom.ptw) plot(gaschrom.ptw, what = "function")