Description Usage Arguments Value Examples
straightness compute a straightness index between 0 and 1 by making the
ration L / l where L is the cumulated distance between
brokenstick points and and where l the cumulated distance between
each y data points.
1 2 3 | straightness(x, y = NULL, npts = 3)
sinuosity(x, y = NULL, npts = 3)
|
x |
The x data (time). |
y |
The y data (depth). |
npts |
The number of points to use. 2 is the minimum (from the start
to the end of data). Each new point adds a step (using the |
straightness returns a number between 0 (maximum sinuosity)
to 1 (maximum straightness). sinuosity is equivalent to
1 / straightness.
1 2 3 | data(exses)
ind(exses)
sunflowerplot(tdrply(straightness, cl = 1:2, ty = '_'), exses$stat$pca)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.