Rdocumentation
powered by
Learn R Programming
refund (version 0.1-1)
quadWeights: Compute quadrature weights
Description
Utility function for numerical integration.
Usage
quadWeights(argvals, method = "trapezoidal")
Arguments
argvals
function arguments.
method
quadrature method. Can be either
trapedoidal
or
midpoint
.
Value
a vector of quadrature weights for the points supplied in
argvals
.