Create a matrix for numerical integration.
int_mat(
distr = dnorm,
args = list(mean = 0, sd = 1),
lb = -4,
ub = 4,
npts = 10000
)
A density function with two user-specified parameters. Defaults to the normal distribution (dnorm), but any density function is permitted.
Named list of arguments to distr.
Lower bound of range over which to numerically integrate.
Upper bound of range over which to numerically integrate.
Number of integration points.
Matrix of two columns. Column 1 is a sequence of x-coordinates, and column 2 is a sequence of y-coordinates from a normalized distribution.
rimse th_est_ml th_est_eap sl_link hb_link
@importFrom stats dnorm