R/normal.qu.R

normal.qu <-
function (n = 15, lower = -4, upper = 4, mu = 0, sigma = 1) 
	{
	    qp = seq(lower, upper, length.out = n)
	        qw = dnorm(qp, 0, 1)
	        qw = qw/sum(qw)
	        qp = qp * sigma + mu
	    	
	    return(list(quad.points = qp, quad.weights = qw))
	}

Try the cacIRT package in your browser

Any scripts or data that you put into this service are public.

cacIRT documentation built on May 1, 2019, 10:18 p.m.