integ: Numerical Integral function using Simpson's rule

Description Usage Arguments

View source: R/zzzz.R

Description

Numerical Integral function using Simpson's rule

Usage

1
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.


elghouch/cenROC documentation built on April 2, 2020, 5:03 a.m.