int_mat {flexmet} | R Documentation |
Create a matrix for numerical integration.
int_mat(
distr = dnorm,
args = list(mean = 0, sd = 1),
lb = -4,
ub = 4,
npts = 10000
)
distr |
A density function with two user-specified parameters. Defaults to the normal distribution (dnorm), but any density function is permitted. |
args |
Named list of arguments to distr. |
lb |
Lower bound of range over which to numerically integrate. |
ub |
Upper bound of range over which to numerically integrate. |
npts |
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