gradient: Gradient using finite diferences

Description Usage Arguments Value Examples

Description

This function takes the gradient of f using finite differences

Usage

1
gradient(f, binsize)

Arguments

f

vector with N samples

binsize

scalar of time samples

Value

g vecotr with N samples which is the gradient of f

Examples

1
2
data("simu_data")
out = gradient(simu_data$f[,1],mean(diff(simu_data$time)))


Search within the fdasrvf package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.