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 May 1, 2019, 6:48 p.m.