powered by
Computes Simpson's rule weights for numerical integration on an equidistant grid. This matches pffr's default integration method in ff() terms. Note: pffr uses (b-a)/n/3 (divides by grid length n), not (b-a)/(n-1)/3.
simpson_weights(xind)
Numeric vector of Simpson weights.
Numeric vector of evaluation points.