integ function

Numerical Integral function using Simpson's rule

Numerical Integral function using Simpson's rule

integ(x, fx, method, n.pts = 256)

Arguments

  • x: The numeric data vector.
  • fx: The function.
  • method: The character string specifying method of numerical integration. The possible options are trap for trapezoidal rule and simps for simpson'r rule.
  • n.pts: Number of points.
  • Maintainer: Pedro Salguero García
  • License: CC BY 4.0
  • Last published: 2025-03-05