Description Usage Arguments Value Examples
Integrate a timeseries using stable Newton-Cotes filters.
| 1 | 
| s | timeseries | 
| order | Newton-Cotes filter order ( 2 <= order <= 7 ). Beware that high-frequence content can become unstable for orders > 2 (order = 2 is the trapezoid rule). | 
| deltat | sampling interval; used only if s is not a "ts" object. Defaults to 1. | 
| nfac | oversampling factor. Must be integer >= 1. Timeseries s is resampled at sampling interval deltat/nfac prior to integration. Does not affect timing or duration of returned integrated series. nfac > 1 provides greater accuracy for timeseries with energetic high frequency components. | 
For s(t0 + i*deltat) for 0 <= i < length( s ), returns the definite integral from t0 to t0 + i*deltat. This is equivalent to the indefinite integral of s with an arbitrary baseline.
| 1 2 3 4 5 6 7 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.