Learn R Programming

LatentREGpp (version 0.2.2)

quadpoints: Quadrature points

Description

Return a list with quadrature points according to dimensionality, technique and number of points.

Usage

quadpoints(dim, quad_tech = "Gaussian", quad_points = NULL)

Arguments

dim
Dimension of the quadrature
quad_tech
A string to specify the quadrature calculation technique. Use "Gaussian" to use that method, or or "QMCEM" for Quasi-Monte Carlo quadrature.
quad_points
An integer number specifying the amount of quadrature points to use. If NULL, the program will choose the best one. If Quasi-Monte Carlo method is specified, the default value is of 2000 points.

Examples

Run this code
## Not run: qp = quadpoints(dim = 4,quad_tech = "QMCEM",quad_points = 3000)

Run the code above in your browser using DataLab