Learn R Programming

eha (version 2.4-6)

ghq: Gauss-Hermite

Description

Calculates the zeros and weights needed for Gauss-Hermite quadrature.

Usage

ghq(n.points = 1, modified = TRUE)

Arguments

n.points

Number of points.

modified

Multiply by exp(zeros**2)? Default is TRUE.

Value

A list vith components

zeros

The zeros (abscissas).

weights

The weights

Details

Based on a Fortran 66 subroutine written by professor Jianming Jin.

References

Gauss-Hermite

See Also

glmmML

Examples

Run this code
# NOT RUN {
ghq(15, FALSE)
# }

Run the code above in your browser using DataLab