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 April 12, 2025, 2:09 a.m.