View source: R/finite_difference.R
finite_difference | R Documentation |
Estimates first-order derivatives of a vector
x |
Raw data to be differentiated |
S |
Sample rate of data to return derivatives using raw time |
Uses simplest version of finite-difference method (window size 2) to numerically estimate derivative of a time series.
Returns first-order numerical derivatives estimated from data.
Rick Dale and Harish S. Bhat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.