Description Arguments Details Value Author(s)

View source: R/finite_difference.R

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.