Learn R Programming

irtoys (version 0.2.2)

normal.qu: Normal quadrature points and weights

Description

Quadrature points and weights based on the Normal distribution. Quadrature objects are used when estimating abilities with eap and for some of the scaling methods in sca.

Usage

normal.qu(n = 15, lower = -4, upper = 4, mu = 0, sigma = 1, scaling = "points")

Arguments

n

Number of quadrature points

lower

Lower boundary

upper

Upper boundary

mu

Mean

sigma

Standard deviation

scaling

Determines the way in which non-default values of mu and sigma are applied. When scaling="points", the quadrature points are rescaled, otherwise the quadrature weights are adapted.

Value

A list of:

quad.points

A vector of n quadrature points

quad.weights

A vector of the corresponding quadrature weights

See Also

read.qu.icl, eap, sca

Examples

Run this code
# NOT RUN {
quad <- normal.qu(n=20)

# }

Run the code above in your browser using DataLab