Description Usage Arguments Value Examples
The function returns the grid points and weights for the calculation of means (or variances) of a function w.r.t. a normal distribution.
1 2 | gq_points_weights(dimensions = 1, mu = rep(0, dimensions),
sigma = diag(1, dimensions), settings = settings.gq())
|
dimensions |
Number of dimensions |
mu |
Mean of the normal distribution |
sigma |
Variance covariance matrix of the normal distribution |
settings |
Settings |
List with entries weights and grid_points
1 2 | # points and weights for 2 dimensional integration with 3 grid points per dimension
gq_points_weights(2, settings = settings.gq(quad_points = 3))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.