R/mdmb_exp_overflow.R

Defines functions mdmb_exp_overflow

## File Name: mdmb_exp_overflow.R
## File Version: 0.05

mdmb_exp_overflow <- function(x, M=200)
{
    x <- ifelse( x > M, M, x)
    y <- exp(x)
    return(y)
}

Try the mdmb package in your browser

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

mdmb documentation built on March 7, 2023, 6:58 p.m.