Learn R Programming

funData (version 1.3-8)

.intWeights: Calculate weights for numerical integration

Description

This function calculates the weights for numerical integration

Usage

.intWeights(argvals, method = "trapezoidal")

Value

A vector of integration weights

Arguments

argvals

A numeric vector of x-Values

method

A character string, giving the numerical integration method to use (default is trapezoidal, alternatively use midpoint)

See Also