pvar
This package deals with the $p$-variation of the sample. Nonetheless, it could be used for to calculate $p$-variation for arbitrary piecewise monotonic function as well. See:
https://link.springer.com/article/10.1007/s10986-018-9414-3#citeas
If you intend to have use from this package, you need to be familiar with the topic. The formal definitions and reference into literature are given in vignette.
There are two main functions in this package, namely
In any question or remarks please don't hesitate to contact me by Vygantas.Butkus@gmail.com
Best regards,
Vygantas Butkus
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.