
This function calculates the weights for numerical integration
.intWeights(argvals, method = "trapezoidal")
A vector of integration weights
A numeric vector of x-Values
A character string, giving the numerical integration method to use (default is trapezoidal
, alternatively use midpoint
)