twDiffrl

Description

Approximation of dx by (x_+1 - x_-1).

Usage

1
twDiffrl(x, na.rm = TRUE)

Arguments

x
na.rm

can be set to FALSE for performance reasons

Value

(x_+1 - x_-1) with single sided intervals at the right and left side

Author(s)

Thomas Wutzler

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.