R/simpson.coeff.R

Defines functions simpson.coeff

Documented in simpson.coeff

simpson.coeff   <-function(n){
                w=array(1,n)
                w[seq(2,n-1,by =2)]=4
                w[seq(3,n-2,by =2)]=2
                return(as.double(w/3.))
                }

Try the etasFLP package in your browser

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

etasFLP documentation built on Sept. 14, 2023, 5:06 p.m.