finite_difference: Estimate derivative of variable with finite differences

View source: R/finite_difference.R

finite_differenceR Documentation

Estimate derivative of variable with finite differences

Description

Estimates first-order derivatives of a vector

Arguments

x

Raw data to be differentiated

S

Sample rate of data to return derivatives using raw time

Details

Uses simplest version of finite-difference method (window size 2) to numerically estimate derivative of a time series.

Value

Returns first-order numerical derivatives estimated from data.

Author(s)

Rick Dale and Harish S. Bhat


sindyr documentation built on May 29, 2024, 7:47 a.m.