R/inv_logit_shifted.R

Defines functions inv_logit_shifted

Documented in inv_logit_shifted

#' A function to take inverse logit shifted
#'
#' Map x from (0, inf) to (0, 1)
#'
#' @param x value
#' @return inv_logit_shifted(x)
#' @export

inv_logit_shifted = function(x){
 return((inv_logit(x) - 0.5)*2)
}
ctross/STRAND documentation built on April 17, 2025, 3:53 a.m.