simp: Area Under the Curve with Simpson's Rule

Description Usage Arguments

View source: R/simp.R

Description

This function computes the area under the curve using Simpson's (composite) rule, for a function f(x) evaluated over equally spaced points x.

Usage

1
simp(x, y)

Arguments

x

A vector of values x.

y

A vector of values f(x).


Kmisc documentation built on May 29, 2017, 1:43 p.m.

Related to simp in Kmisc...