simpson_nint: numerical integration based on Simpsons rule

Description Usage Arguments Value Examples

Description

based on Bolstad:sintegral(); but needed to remove the message.

Usage

1
simpson_nint(x, fx, n.pts = max(256, length(n.x)))

Arguments

x

a sequence of x values.

fx

the value of the function to be integrated at x or a function

n.pts

the number of points to be used in the integration. If x contains more than n.pts then n.pts will be set to length(x)

Value

results a data frame with rmse for each approach for that simulated dataset

Examples

1
---

swihart/wfpca documentation built on May 30, 2019, 10:38 p.m.