| derivative_cpp | R Documentation |
Computes the first derivative using centered differences, mirroring sfsmisc::D1tr.
derivative_cpp(x, gridpts, n_cores = 1L)
x |
Numeric Matrix (smoothed values) |
gridpts |
Grid points corresponding to columns of x |
n_cores |
Number of cores to use |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.