predict_warps | R Documentation |
Returns and (optionally) plots predicted warps.
predict_warps(w, warp_fct, seq.length = 101, plot = TRUE, tout, ...)
w |
warp values |
seq.length |
number of time points used in the evaluation. |
plot |
Plot the result? Uses matplot. |
tout |
Evaluation points. If missing, equidistant evaluation on [0,1] according to seq.length is used in the evaluation |
... |
arguments to be passed to matplot |
A matrix of dim seq.length x n
tw <- c(0.25, 0.5, 0.75) wf <- <- make_warp_fct(type="smooth", tw=tw) <run estimation on data set and return object res> predict_warps(res$w, wf, plot = T, type="l", main = "Predicted warp functions")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.