R/Random.R

"Random" <-
function(iseed=.dFvGet()$isd) {
rn <- single(1)
f.res <- .Fortran("randow",
iseed=to.integer(iseed),
rn=to.single(rn))
z.res <- .Fortran("zdfvals",io=to.integer(0),dfv=single(66))
zdf <- z.res$dfv
zdf[48] <- to.single(f.res$iseed)
z.res <- .Fortran("zdfvals",io=to.integer(1),dfv=to.single(zdf))
f.res$rn
}

Try the robeth package in your browser

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

robeth documentation built on Aug. 22, 2023, 9:09 a.m.