diffn {bspline} | R Documentation |
Finite differences
Description
Calculate dy/dx where x,y are first and the rest of columns in the entry matrix 'm'
Usage
diffn(m, ndiff = 1L)
Arguments
m |
2- or more-column numeric matrix |
ndiff |
Integer scalar, order of finite difference (1 by default) |
Value
Numeric matrix, first column is midpoints of x, the second and following are dy/dx
[Package bspline version 2.2.2 Index]