R/cdfray.R

"cdfray" <-
function(x,para) {
   if(! are.parray.valid(para)) return()
   U <- para$para[1]
   A <- para$para[2]

   Y <- x - U
   f <- (1 - exp(-1*(Y)^2/(2*A^2)))

   names(f) <- NULL
   f[Y <= 0] <- 0
   return(f)
}

Try the lmomco package in your browser

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

lmomco documentation built on Aug. 30, 2023, 5:10 p.m.