Description Usage Arguments Details
This function generates different types of warping functions that can be used with pavpop.
1 2 | make_warp_fct(type = c("shift", "linear", "piecewise-linear", "smooth"),
tw = NULL, control = list(wleft = "fixed", wright = "fixed"))
|
type |
type of warping function. See 'Details'. |
tw |
anchor points for the warping parameters. Needed for types 'piecewise-linear' and 'smooth'. Note: boundary points must be included. |
control |
list of control arguments. Entries |
The possible types of warping functions are
shift
a horizontal shift.
linear
a linear streach of the curves.
pieceiwse-linear
a piecewise linear deformation of the curves.
Anchor points are given by tw
.
smooth
a smooth nonlinear deformation of the curves,
produced by an increasing spline (Hyman filtered).
Anchor points are given by tw
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.