R/F_stabExp.R

Defines functions stabExp

Documented in stabExp

#' A function to numerically stabilize an exponentiation. For internal use only
#' @param exps the vector to be exponentiated
#'
#' @return the vector with the maximum subtracted
stabExp = function(exps){
    exps-max(exps)
}

Try the reconsi package in your browser

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

reconsi documentation built on Nov. 8, 2020, 5:04 p.m.