08.04.2015 Views

The sfsmisc Package - NexTag Supports Open Source Initiatives

The sfsmisc Package - NexTag Supports Open Source Initiatives

The sfsmisc Package - NexTag Supports Open Source Initiatives

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

34 inv.seq<br />

Arguments<br />

x<br />

fx<br />

a,b<br />

use.spline<br />

xtol<br />

abscissa values.<br />

corresponding values of f(x).<br />

the boundaries of integration; these default to min(x) and max(x) respectively.<br />

logical; if TRUE use an interpolating spline.<br />

tolerance factor, typically around sqrt(.Machine$double.eps) ......(fixme)....<br />

Details<br />

Note that this is really not good for noisy fx values; probably a smoothing spline should be used in<br />

that case.<br />

Also, we are not yet using Romberg in order to improve the trapezoid rule. This would be quite an<br />

improvement in equidistant cases.<br />

Value<br />

the approximate integral.<br />

Author(s)<br />

Martin Maechler, May 1994 (for S).<br />

See Also<br />

integrate for numerical integration of functions.<br />

Examples<br />

x

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!