roughness | R Documentation |
This function computes the roughness or total curvature of a curve, i.e. of a time wave or of a spectrum
roughness(x, std = FALSE)
x |
a vector |
std |
a logical, if set to |
Roughness or total curvature is the integrated squared second
derivative :
roughness = \int [D^2x(t)]^2 \, \mathrm{d} t
.
A vector of length 1.
The value has not unit.
Jerome Sueur
Ramsay JO, Silverman BW (2005) Functional data analysis. Springer, Berlin.
rugo
, rms
, sh
, th
, H
.
data(tico)
spec <- meanspec(tico, plot=FALSE)[,2]
roughness(spec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.