R/ranuf.R

Defines functions ranuf

Documented in ranuf

ranuf <-
function(p)
    {
   y <- runif(p,0,1)*3 - 1.5
  y <- sign(y)*(abs(y) + 0.5)
    return(y)
   }

Try the RKUM package in your browser

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

RKUM documentation built on June 22, 2022, 9:06 a.m.