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