R/I_logistic.R

Defines functions .ilogistic .logistic

# Logistic                             R -> (0, 1)
# and inverse logistic (logit)         (0, 1) -> R 
# transformations

.logistic  <- function(x) 1 / (1 + exp(-x))

.ilogistic <- function(x) log( x / (1 - x) )

Try the synlik package in your browser

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

synlik documentation built on March 7, 2023, 8:39 p.m.