Description Usage Arguments Details
Estimates derivatives of a dynamic controlling a set of time series by locally fitting low order polynomials and differentiating.
1 | local_polynomial_derivatives(tt, k, timesteps = NULL, times = NULL, ...)
|
tt |
|
k |
number of nearest neighbours to base estimate on |
timesteps |
timesteps around each neighbours to base estimate on |
times |
exact (relative) time values to base estimate on |
... |
additional parameter to
|
At least one of timesteps
or times
has to be
specified, if only the former is specified the value of
times
is computed using the time delta of tt
.
Simply applies local_polynomial_fits
to every point
in the time.table
tt
, preserving its
time.table
structure.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.