Description Usage Arguments Details Value See Also Examples
This method computes the (signed) area under the curve of elements of a univariate functional dataset, namely, their integral.
1 |
fData |
the functional dataset containing elements whose areas under the
curve have to be computed, in form of |
Given a univariate functional dataset, X_1(t), X_2(t), …, X_N(t), defined over a compact interval I=[a,b] and observed on an evenly spaced 1D grid [a = t_0, t_1, …, t_{P-1} = b] \subset I, the function computes:
∑_{i=1}^{P-2} \frac{X(t_{i+1}) - X(t_{i-1})}{2} h \approx \int_a^b X(t) dt,
where h = t_1 - t_0.
The function returns a numeric vector containing the values of areas
under the curve for all the elements of the functional dataset
fData
.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.