R/ruinprob.R

Defines functions ruinprob

Documented in ruinprob

ruinprob <- function(process, method = c('saddlepoint', 'fft', 'bounds', 'hypoexp', 'lundberg'), ...) {
    stopifnot(is.riskproc(process))
    switch(match.arg(method),
           saddlepoint = saddlepointRuinprob(process, ...),
           fft         = fftRuinprob(process, ...),
           bounds      = boundsRuinprob(process, ...),
           hypoexp     = hypoexpRuinprob(process),
           lundberg    = lundbergRuinprob(process, ...))
}

Try the sdprisk package in your browser

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

sdprisk documentation built on May 1, 2019, 7:50 p.m.