tests/t-benchonestep-4-defensive.R

require(OneStep)
require(actuar)

n <- 1e3

x <- rexp(n)
try( benchonestep(x, "exp", "jaimeleraisindetable") )
try( benchonestep(x, "exp") )
try( benchonestep(x, "exp2", "mle") )
try( benchonestep(matrix(x, 2, n/2), "exp2", "mle") )

Try the OneStep package in your browser

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

OneStep documentation built on Oct. 17, 2024, 5:06 p.m.