View source: R/ndvi_derivatives.R
| ndvi_derivatives | R Documentation |
Provides function expression of derivatives of an idealized NDVI curve fitted through a harmonic regression model
ndvi_derivatives(amp, pha, degree, L)
amp |
numeric vector specifying amplitude parameter |
pha |
numeric vector specifying phase angle parameter |
degree |
integer. What derivative's degree should be calculated?
|
L |
integer giving the number of observations per period |
This function returns the derivatives of f(t), with respect
to t, when f has the representation:
f(t) = \sum_{k=1}^{p} a[i] cos( (2 \pi k t)/L - \phi[i] ),
where a and \phi are substituted by the vectors amp
and phase, respectively. The degree of the derivative is given by the
argument degree.
A function expression
For historic reasons, we ended up using the name ndvi_derivatives
for this function, but it can be used to calculate derivatives of any function
expression defined through amp, pha, degree and L.
phenopar, phenopar_polygon, haRmonics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.